Also show red warning if commit very not up to date in app page

This commit is contained in:
Alexandre Aubin 2018-03-10 17:32:46 -05:00
parent 226d808a6b
commit 4674d894a2

View file

@ -69,8 +69,12 @@
<span class="oi oi-task" aria-hidden="true"></span>
Master commit is up to date with {{ app.list.name }}.json !
</p>
{% else %}
{% if app.public_vs_master_time_diff > 60 %}
<p class="card-text text-danger">
{% else %}
<p class="card-text text-warning">
{% endif %}
<span class="oi oi-warning" aria-hidden="true"></span>
Commit is not up to date on {{ app.list.name }}.json !
</p>