mirror of
https://github.com/tiyn/container-critique.git
synced 2025-04-19 08:07:49 +02:00
35 lines
1.0 KiB
HTML
35 lines
1.0 KiB
HTML
{% extends "template.html" -%}
|
|
|
|
{% block content -%}
|
|
<div class="container">
|
|
<div class="standalone">
|
|
<h1>
|
|
{{ entry.item.name }} ({{ entry.item.date }})
|
|
{{ r_to_star(entry.rating) }}
|
|
</h1>
|
|
<small>
|
|
rated {{ entry.rating }}/100 by
|
|
<a href="{{ url_for('user', name=entry.user.name) }}">
|
|
{{ entry.user.name }}
|
|
</a>
|
|
on
|
|
<a href="{{ url_for('index', _anchor=entry.id) }}">
|
|
{{ entry.date }}
|
|
</a>
|
|
</small><br>
|
|
{% if current_user.id == entry.user.id -%}
|
|
<small>
|
|
[
|
|
<a href="{{ url_for('delete_entry', ident=entry.id) }}">
|
|
delete entry
|
|
</a>
|
|
]
|
|
</small><br>
|
|
{% endif -%}
|
|
{% autoescape off -%}
|
|
{{ entry.text }}
|
|
{% endautoescape -%}<br>
|
|
</div>
|
|
</div>
|
|
{% endblock -%}
|