fix underscored attributes
This commit is contained in:
parent
b4754c643d
commit
0d298bdc55
|
@ -8,8 +8,8 @@ require 'travis/model'
|
|||
message: DS.attr('string')
|
||||
result: DS.attr('number')
|
||||
duration: DS.attr('number')
|
||||
started_at: DS.attr('string')
|
||||
finished_at: DS.attr('string')
|
||||
startedAt: DS.attr('string')
|
||||
finishedAt: DS.attr('string')
|
||||
|
||||
commit: DS.belongsTo('Travis.Commit')
|
||||
|
||||
|
|
|
@ -26,10 +26,10 @@
|
|||
<td class="message">
|
||||
{{{formatMessage commit.message short="true"}}}
|
||||
</td>
|
||||
<td class="duration" {{bindAttr title="started_at"}}>
|
||||
<td class="duration" {{bindAttr title="duration"}}>
|
||||
{{formatDuration duration}}
|
||||
</td>
|
||||
<td class="finished_at timeago" {{bindAttr title="finished_at"}}>
|
||||
<td class="finished_at timeago" {{bindAttr title="finishedAt"}}>
|
||||
{{formatTime finishedAt}}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
<div class="left">
|
||||
<dt>{{t builds.name}}</dt>
|
||||
<dd class="number"><a {{bindAttr href="urlBuild"}} {{action route}}>{{build.number}}</a></dd>
|
||||
<dt class="finished_at_label">{{t builds.finished_at}}</dt>
|
||||
<dd class="finished_at timeago" {{bindAttr title="finished_at"}}>{{formatTime build.finishedAt}}</dd>
|
||||
<dt class="finished_at_label">{{t builds.finishedAt}}</dt>
|
||||
<dd class="finished_at timeago" {{bindAttr title="finishedAt"}}>{{formatTime build.finishedAt}}</dd>
|
||||
<dt>{{t builds.duration}}</dt>
|
||||
<dd class="duration" {{bindAttr title="started_at"}}>{{formatDuration build.duration}}</dd>
|
||||
<dd class="duration" {{bindAttr title="startedAt"}}>{{formatDuration build.duration}}</dd>
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
{{#each job in view.jobs}}
|
||||
{{#view Travis.JobsItemView contextBinding="job"}}
|
||||
<td class="number"><a {{bindAttr href="view.urlJob"}} {{action route}}>{{number}}</a></td>
|
||||
<td class="duration" {{bindAttr title="started_at"}}>{{formatDuration duration}}</td>
|
||||
<td class="duration" {{bindAttr title="startedAt"}}>{{formatDuration duration}}</td>
|
||||
<td class="finished_at timeago" {{bindAttr title="finishedAt"}}>{{formatTime finishedAt}}</td>
|
||||
{{#each value in configValues}}
|
||||
<td>{{value}}</td>
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
<div class="left">
|
||||
<dt>Job</dt>
|
||||
<dd class="number"><a {{bindAttr href="view.urlJob"}} {{action route}}>{{job.number}}</a></dd>
|
||||
<dt class="finished_at_label">{{t jobs.finished_at}}</dt>
|
||||
<dd class="finished_at timeago" {{bindAttr title="finished_at"}}>{{formatTime job.finishedAt}}</dd>
|
||||
<dt class="finished_at_label">{{t jobs.finishedAt}}</dt>
|
||||
<dd class="finished_at timeago" {{bindAttr title="finishedAt"}}>{{formatTime job.finishedAt}}</dd>
|
||||
<dt>{{t jobs.duration}}</dt>
|
||||
<dd class="duration" {{bindAttr title="started_at"}}>{{formatDuration job.duration}}</dd>
|
||||
<dd class="duration" {{bindAttr title="startedAt"}}>{{formatDuration job.duration}}</dd>
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user