Fix link to CI on per-app pages

This commit is contained in:
Alexandre Aubin 2019-01-22 16:05:47 +00:00
parent d0415b88bb
commit 2f179a32d1

View file

@ -40,19 +40,11 @@
</td> </td>
{% endfor %} {% endfor %}
<td class="ci-app-test-info"> <td class="ci-app-test-info">
{% if result.url == None %} {% if result.date == None %}
{% if result.date == None %} <span class="daysAgo" href="{{ result.branch.last_build_url(app) }}">???</span>
<span class="daysAgo">???</span> {% else %}
{% else %} <span class="daysAgo" timestamp="{{ result.date.timestamp() }}" href="{{ result.branch.last_build_url(app) }}"></span>
<span class="daysAgo" timestamp="{{ result.date.timestamp() }}"></span> {% endif %}
{% 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 %}
{% endif %}
{% if result.commit != result.app.master_commit %} {% if result.commit != result.app.master_commit %}
<span class="oi oi-clock text-warning" <span class="oi oi-clock text-warning"
aria-hidden="true" aria-hidden="true"