You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
{% 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='{0:d}'.format(entry.id)) }}">
|
|
{{ entry.date }}
|
|
</a>
|
|
</small><br>
|
|
{% if current_user.id == entry.user.id -%}
|
|
<small>
|
|
[
|
|
<a href="{{ url_for('delete_entry', ident='{0:d}'.format(entry.id)) }}">
|
|
delete entry
|
|
</a>
|
|
]
|
|
</small><br>
|
|
{% endif -%}
|
|
{% autoescape off -%}
|
|
{{ entry.text }}
|
|
{% endautoescape -%}<br>
|
|
</div>
|
|
</div>
|
|
{% endblock -%}
|