Fix requests page

This commit is contained in:
Piotr Sarnacki 2014-08-21 17:05:26 +02:00
parent a77f3827ee
commit b43842dade

View File

@ -17,23 +17,23 @@
</thead> </thead>
<tbody> <tbody>
{{#each request in controller itemController="request"}} {{#each controller itemController="request"}}
<tr {{bind-attr class="requestClass"}}> <tr {{bind-attr class="requestClass"}}>
<td class="request-id"> <td class="request-id">
<span class="status"></span> <span class="status"></span>
{{request.id}} {{id}}
</td> </td>
<td>{{githubCommitLink request.repo.slug request.commit.sha}}</td> <td>{{githubCommitLink repo.slug commit.sha}}</td>
<td> <td>
{{#if request.build}} {{#if build}}
{{#link-to "build" request.build}}#{{request.build.number}}{{/link-to}} {{#link-to "build" build}}#{{build.number}}{{/link-to}}
{{else}} {{else}}
- -
{{/if}} {{/if}}
</td> </td>
<td class="commit-message">{{{formatMessage request.commit.message short="true" repoBinding=build.repo}}}</td> <td class="commit-message">{{{formatMessage commit.message short="true" repoBinding=build.repo}}}</td>
<td>{{request.type}}</td> <td>{{type}}</td>
<td>{{request.message}}</td> <td>{{message}}</td>
</tr> </tr>
{{/each}} {{/each}}
</tbody> </tbody>