]> git.ipfire.org Git - people/jschlag/pbs.git/blob - src/templates/modules/log-entry-comment.html
Merge branch 'master' of git://git.ipfire.org/pbs
[people/jschlag/pbs.git] / src / templates / modules / log-entry-comment.html
1 {% extends "log-entry.html" %}
2
3 {% block extra-title %}
4 {% if entry.vote == "up" %}
5 <span class="label label-success" title="{{ _("This build works for %s.") % entry.user.firstname }}">
6 +{{ entry.score }}
7 </span>
8 &dash;
9 {% elif entry.vote == "down" %}
10 <span class="label label-important" title="{{ _("This build does not work for %s.") % entry.user.firstname }}">
11 {{ entry.score }}
12 </span>
13 &dash;
14 {% end %}
15 {% end %}
16
17 {% block message %}
18 {% if entry.get_message(current_user) %}
19 {% module Text(entry.get_message(current_user), remove_linebreaks=False) %}
20 {% else %}
21 <p class="muted">
22 {{ _("No comment given.") }}
23 </p>
24 {% end %}
25 {% end %}