Add not modified status to job details and list

This commit is contained in:
Ken Tsang 2019-04-12 11:30:31 +01:00
parent 204b1f301a
commit a9e32e755a
2 changed files with 2 additions and 3 deletions

View File

@ -25,7 +25,7 @@ Example:
{% endif %}
{{ _('errors') }}
</span>
{% for action in ['added', 'updated', 'deleted'] %}
{% for action in ['added', 'updated', 'deleted', 'not modified'] %}
<span class="label" data-diff="{{ action }}">
{% if action in stats and stats[action] > 0 %}
{{ stats[action] }}

View File

@ -45,7 +45,7 @@
</span>
</li>
{% endif %}
{% for action in ['added', 'updated', 'deleted'] %}
{% for action in ['added', 'updated', 'deleted', 'not modified'] %}
<li>
<span class="label" data-diff="{{ action }}" title="{{ _(action) }}">
{% if action in job.stats and job.stats[action] > 0 %}
@ -66,4 +66,3 @@
</div>
{% endblock %}