mirror of
https://github.com/YunoHost/tartiflette.git
synced 2024-09-03 20:06:08 +02:00
Fix link to CI on per-app pages
This commit is contained in:
parent
d0415b88bb
commit
2f179a32d1
1 changed files with 5 additions and 13 deletions
|
@ -40,18 +40,10 @@
|
|||
</td>
|
||||
{% endfor %}
|
||||
<td class="ci-app-test-info">
|
||||
{% if result.url == None %}
|
||||
{% if result.date == None %}
|
||||
<span class="daysAgo">???</span>
|
||||
<span class="daysAgo" href="{{ result.branch.last_build_url(app) }}">???</span>
|
||||
{% else %}
|
||||
<span class="daysAgo" timestamp="{{ result.date.timestamp() }}"></span>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if result.date == None %}
|
||||
<span class="daysAgo" href="{{ result.url.replace("consoleText", "consoleFull") }}">???</span>
|
||||
{% else %}
|
||||
<span class="daysAgo" timestamp="{{ result.date.timestamp() }}" href="{{ result.url.replace("consoleText", "consoleFull") }}"></span>
|
||||
{% endif %}
|
||||
<span class="daysAgo" timestamp="{{ result.date.timestamp() }}" href="{{ result.branch.last_build_url(app) }}"></span>
|
||||
{% endif %}
|
||||
{% if result.commit != result.app.master_commit %}
|
||||
<span class="oi oi-clock text-warning"
|
||||
|
|
Loading…
Reference in a new issue