mirror of
https://github.com/YunoHost/tartiflette.git
synced 2024-09-03 20:06:08 +02:00
Also show red warning if commit very not up to date in app page
This commit is contained in:
parent
226d808a6b
commit
4674d894a2
1 changed files with 4 additions and 0 deletions
|
@ -70,7 +70,11 @@
|
|||
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>
|
||||
|
|
Loading…
Reference in a new issue