travis-web/app/templates/requests.hbs
2015-02-03 09:44:34 +01:00

43 lines
1.0 KiB
Handlebars

{{#if config.pro}}
<div class="travis-lint">
<p>Travis Lint for clean .yml files
<a {{bind-attr href="lintUrl"}}>lint.travis-ci.org/{{repo.slug}}</a>
</p>
</div>
{{/if}}
<table id="requests" class="list">
<thead>
<tr>
<th>Request</th>
<th>Commit</th>
<th>Build</th>
<th>Commit message</th>
<th>Type</th>
<th>Message</th>
</tr>
</thead>
<tbody>
{{#each controller itemController="request"}}
<tr {{bind-attr class="requestClass"}}>
<td class="request-id">
<span class="status"></span>
{{id}}
</td>
<td>{{github-commit-link repo.slug commit.sha}}</td>
<td>
{{#if build}}
{{#link-to "build" build}}#{{build.number}}{{/link-to}}
{{else}}
-
{{/if}}
</td>
<td class="commit-message">{{{format-message commit.message short="true" repoBinding=build.repo}}}</td>
<td>{{type}}</td>
<td>{{message}}</td>
</tr>
{{/each}}
</tbody>
</table>