show pretty date in build header on hover

This commit is contained in:
Lisa Passing 2015-06-23 12:29:40 +02:00
parent 21a50aa9a5
commit 37da11d55a
3 changed files with 5 additions and 5 deletions

View File

@ -58,11 +58,11 @@
{{/if}}
{{/if}}
</li>
<li>
<li title="{{format-duration build.duration}}">
<span class="icon icon--clock"></span>
{{#if build.isFinished}}ran{{else}}running{{/if}} for {{format-duration build.duration}}
</li>
<li {{bind-attr title="build.finishedAt"}}>
<li title="{{pretty-date build.finishedAt}}">
<span class="icon icon--cal"></span>
{{format-time build.finishedAt}}
</li>

View File

@ -40,11 +40,11 @@
</div>
<div class="column small-6">
<p class="" {{bind-attr title="build.duration"}}>
<p title="{{format-duration build.duration}}">
<span class="icon icon-clock"></span>
{{format-duration build.duration}}
</p>
<p class="" {{bind-attr title="build.formattedFinishedAt"}}>
<p title="{{pretty-date build.formattedFinishedAt}}">
<span class="icon icon-cal"></span>
{{format-time build.finishedAt}}
</p>

View File

@ -37,7 +37,7 @@
</p>
{{/if}}
<p class="job-duration jobs-item" {{bind-attr title="job.startedAt"}}>
<p class="job-duration jobs-item" title="Started {{pretty-date job.startedAt}}">
<span class="icon icon--clock-dark"></span>
{{format-duration job.duration}}
</p>