]> git.ipfire.org Git - people/jschlag/pbs.git/blob - data/templates/modules/comments-table.html
Drop dependency on textile
[people/jschlag/pbs.git] / data / templates / modules / comments-table.html
1 <div class="comments">
2 {% if comments %}
3 {% for comment in comments %}
4 <div class="comment {{ comment.vote }}">
5 <p class="text">{{ comment.text }}</p>
6 <span>
7 {% if show_package %}
8 <a href="/package/{{ comment.pkg.name }}/{{ comment.pkg.epoch }}/{{ comment.pkg.version }}/{{ comment.pkg.release }}">{{ _("on %s") % comment.pkg.friendly_name }}</a> -
9 {% end %}
10 {% if show_user %}
11 <a href="/user/{{ comment.user.name }}">{{ _("by %s") % comment.user.realname }}</a> -
12 {% end %}
13 {{ locale.format_date(comment.time_created) }}
14
15 {% if comment.time_updated %}
16 _("Updated") {{ locale.format_date(comment.time_updated) }}
17 {% end %}
18 </span>
19 </div>
20 {% end %}
21 {% else %}
22 <p>{{ _("No comments so far.") }}</p>
23 {% end %}
24 </div>
25 <div style="clear: both;">&nbsp;</div>