]> git.ipfire.org Git - people/jschlag/pbs.git/blame - src/templates/modules/comments-table.html
Merge branch 'master' of git://git.ipfire.org/pbs
[people/jschlag/pbs.git] / src / templates / modules / comments-table.html
CommitLineData
9137135a
MT
1<div class="comments">
2 {% if comments %}
3 {% for comment in comments %}
4 <div class="comment {{ comment.vote }}">
5aa556bf 5 <p class="text">{{ comment.text }}</p>
9137135a
MT
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 %}
5aa556bf 11 <a href="/user/{{ comment.user.name }}">{{ _("by %s") % comment.user.realname }}</a> -
9137135a 12 {% end %}
f6e6ff79
MT
13 {{ locale.format_date(comment.time_created) }}
14
15 {% if comment.time_updated %}
16 _("Updated") {{ locale.format_date(comment.time_updated) }}
17 {% end %}
9137135a
MT
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>