]> git.ipfire.org Git - people/jschlag/pbs.git/blame - data/templates/modules/jobs/boxes.html
Change format of build time.
[people/jschlag/pbs.git] / data / templates / modules / jobs / boxes.html
CommitLineData
3c7e0537
MT
1<div class="jobs-boxes">
2 {% for j in jobs %}
3 <div class="well well-small">
4 <h4>
b9d096e0 5 <small class="pull-right">
7514d7dc 6 {{ format_time(j.duration, shorter=True) }} &dash;
b9d096e0
MT
7 {% module JobState(j) %}
8 </small>
3c7e0537
MT
9 <a href="/job/{{ j.uuid }}">{{ j.arch.name }}</a>
10 </h4>
11
b9d096e0
MT
12 <ul class="unstyled">
13 {% if j.builder %}
14 <li>
15 {{ _("Builder") }}: <a href="/builder/{{ j.builder.name }}">{{ j.builder.name }}</a>
16 </li>
17 {% end %}
a90bd9b0
MT
18
19 {% if j.is_running() %}
20 <li>
21 {{ _("ETA") }}: {{ format_eta(j.eta) }}
22 </li>
23 {% end %}
b9d096e0 24 </ul>
3c7e0537
MT
25 </div>
26 {% end %}
27</div>