diff --git a/nyaa/templates/view.html b/nyaa/templates/view.html index 8ba96d6..68471d7 100644 --- a/nyaa/templates/view.html +++ b/nyaa/templates/view.html @@ -136,48 +136,59 @@ Comments - {{ comment_count }} -
Delete | - {% endif %} -Date | -User | -Comment | - - - {% for comment in comments %} -
---|---|---|---|
- - | - {% endif %} -
- {% if comment.user %}
-
- {{ comment.user.username }}
-
- {% else %}
- Anonymous
+ {% for comment in comments %}
+
+
+
+
+ + {% set user_url = torrent.user and url_for('view_user', user_name=comment.user.username) %} + {{ comment.user.username }} + {% if comment.user.id == torrent.uploader_id and not torrent.anonymous %} + (uploader) {% endif %} - |
- {{ torrent.created_time.strftime('%Y-%m-%d %H:%M UTC') }} | -{{ comment.text }} | -
{{ comment.user.userlevel_str }}
+
+
+