2015-04-08 22:43:59 +00:00
|
|
|
<h1>{{ repo.full_name }}</h1>
|
|
|
|
|
|
|
|
<a href="/">Back</a>
|
|
|
|
<a ng-href="/{{ repo.full_name }}/edit">Settings</a>
|
|
|
|
|
2015-05-11 07:45:31 +00:00
|
|
|
<button ng-click="watch(repo)" ng-if="!repo.starred">Watch</button>
|
|
|
|
<button ng-click="unwatch(repo)" ng-if="repo.starred">Unwatch</button>
|
2015-04-08 22:43:59 +00:00
|
|
|
|
|
|
|
<table border="1">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Number</th>
|
|
|
|
<th>Status</th>
|
|
|
|
<th>Started</th>
|
|
|
|
<th>Duration</th>
|
|
|
|
<th>Type</th>
|
|
|
|
<th>Ref</th>
|
|
|
|
<th>Commit</th>
|
|
|
|
<th>Author</th>
|
|
|
|
<th>Message</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2015-05-11 07:45:31 +00:00
|
|
|
<tr ng-repeat="build in builds | orderBy:'-sequence'">
|
|
|
|
<td><a ng-href="/{{ repo.full_name }}/{{ build.sequence }}">{{ build.sequence }}</a></td>
|
2015-04-08 22:43:59 +00:00
|
|
|
<td>{{ build.state }}</td>
|
|
|
|
<td>{{ build.started_at | fromNow }}</td>
|
|
|
|
<td>{{ build.duration | toDuration }}</td>
|
2015-05-11 07:45:31 +00:00
|
|
|
<td>{{ build.pull_request ? "pull request" : "push" }}</td>
|
|
|
|
<td>{{ build.ref }}</td>
|
|
|
|
<td>{{ build.sha }}</td>
|
|
|
|
<td>{{ build.author }}</td>
|
|
|
|
<td>{{ build.message }}</td>
|
2015-04-08 22:43:59 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|