Commit dddc4fb0 authored by Michal Čihař's avatar Michal Čihař

Fix condition

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 80a8fea5
...@@ -36,9 +36,9 @@ ...@@ -36,9 +36,9 @@
<td>{{ source.source_info.get_priority_display }}{% if perms.edit_priority %} <a class="button smallbutton edit-priority" href="{% url 'edit_priority' pk=source.source_info.pk %}" data-priority="{{ source.source_info.priority }}"><span class="glyphicon glyphicon-pencil"></span></a>{% endif %}</td> <td>{{ source.source_info.get_priority_display }}{% if perms.edit_priority %} <a class="button smallbutton edit-priority" href="{% url 'edit_priority' pk=source.source_info.pk %}" data-priority="{{ source.source_info.priority }}"><span class="glyphicon glyphicon-pencil"></span></a>{% endif %}</td>
<td class="source-checks"> <td class="source-checks">
{% if ignored %} {% if ignored %}
{% show_checks source.active_source_checks user %}
{% else %}
{% show_checks source.source_checks user %} {% show_checks source.source_checks user %}
{% else %}
{% show_checks source.active_source_checks user %}
{% endif %} {% endif %}
{% if comments %} {% if comments %}
<div class="alert alert-info check">{% trans "Comment" %}</div> <div class="alert alert-info check">{% trans "Comment" %}</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment