~comcloudway/builds.sr.ht

3a933a2ca74b5ef7c4ee112995991dd8c5240922 — Drew DeVault 5 years ago 8582405
Display job duration with humanize
1 files changed, 1 insertions(+), 0 deletions(-)

M buildsrht/templates/job.html
M buildsrht/templates/job.html => buildsrht/templates/job.html +1 -0
@@ 120,6 120,7 @@
      {% if job.status.value == "success" or job.status.value == "failed" %}
      <div class="alert {{ "alert-success" if job.status.value == "success" else "alert-danger" }}">
        Build complete: <strong>{{ job.status.value }}</strong> {{ job.updated | date }}
        (took {{(job.updated - job.created) | date}})
      </div>
      {% endif %}
      <a id="bottom"></a>