2014-07-09 07:46:15 +00:00
|
|
|
<aside id="sidebar">
|
|
|
|
<div class="result" data-result="{{ commit.status }}">
|
|
|
|
<dl>
|
|
|
|
<dd><span class="status">{{ commit.status }}</span></dd>
|
|
|
|
<dd><strong>{{ commit.message }}</strong></dd>
|
|
|
|
</dl>
|
2014-06-21 21:22:38 +00:00
|
|
|
</div>
|
2014-07-09 07:46:15 +00:00
|
|
|
|
2014-07-11 23:52:22 +00:00
|
|
|
<dl ng-if="commit.duration != 0">
|
|
|
|
<dd><h1>{{ commit.duration | toDuration}}</h1></dd>
|
2014-07-09 07:46:15 +00:00
|
|
|
</dl>
|
|
|
|
|
|
|
|
<dl>
|
2014-09-07 18:56:51 +00:00
|
|
|
<dd class="large" ng-if="repo.remote == 'gitlab.com' || repo.remote == 'github.com' || repo.remote == 'enterprise.github.com' ">
|
|
|
|
<strong>
|
|
|
|
commit
|
|
|
|
<a href="http://{{ repo.host }}/{{ repo.owner }}/{{ repo.name }}/commit/{{ commit.sha }}" >{{ commit.sha | shortHash}}</a>
|
|
|
|
to <a href="http://{{ repo.host }}/{{ repo.owner }}/{{ repo.name }}/tree/{{ commit.branch }}">{{ commit.branch }}</a> branch
|
|
|
|
</strong>
|
|
|
|
</dd>
|
|
|
|
<dd class="large" ng-if="repo.remote == 'bitbucket.org' ">
|
2014-09-07 22:12:08 +00:00
|
|
|
<strong>
|
2014-09-07 18:56:51 +00:00
|
|
|
commit
|
|
|
|
<a href="http://{{ repo.host }}/{{ repo.owner }}/{{ repo.name }}/commits/{{ commit.sha }}" >{{ commit.sha | shortHash}}</a>
|
|
|
|
to <a href="http://{{ repo.host }}/{{ repo.owner }}/{{ repo.name }}/src/?at={{ commit.branch }}">{{ commit.branch }}</a> branch
|
2014-09-07 22:12:08 +00:00
|
|
|
</strong>
|
2014-09-07 18:56:51 +00:00
|
|
|
</dd>
|
|
|
|
<dd class="large" ng-if="repo.remote != 'gitlab.com' && repo.remote != 'github.com' && repo.remote != 'enterprise.github.com' && repo.remote != 'bitbucket.org' ">
|
|
|
|
<strong>commit <u>{{ commit.sha | shortHash}}</u> to <u>{{ commit.branch }}</u> branch</strong>
|
|
|
|
</dd>
|
2014-07-09 07:46:15 +00:00
|
|
|
<dd ng-if="commit.finished_at != 0">{{ commit.finished_at | fromNow }}</dd>
|
|
|
|
<dd ng-if="commit.finished_at == 0 && commit.started_at != 0">Started {{ commit.started_at | fromNow }}</dd>
|
|
|
|
<dd ng-if="commit.finished_at == 0 && commit.started_at == 0">Created {{ commit.created_at}}</dd>
|
|
|
|
</dl>
|
|
|
|
</aside>
|
|
|
|
|
|
|
|
<div id="main" class="output">
|
2014-07-11 23:52:22 +00:00
|
|
|
<div id="main" class="output" data-result="{{ commit.status }}">
|
2014-07-09 07:46:15 +00:00
|
|
|
<nav>
|
2014-09-07 22:11:20 +00:00
|
|
|
<div class="options ng-scope" ng-if="repo.role.admin || repo.role.write">
|
|
|
|
<a class="pure-button pure-button-primary" ng-click="rebuildCommit()" href="#">
|
|
|
|
<i class="fa fa-refresh"></i>
|
|
|
|
<span>Rebuild</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
2014-07-09 07:46:15 +00:00
|
|
|
<a href="/"><span class="fa fa-th"></span></a>
|
|
|
|
<span>{{ repo.owner }}</span>
|
|
|
|
<span>/</span>
|
|
|
|
<a href="/{{ repo.host }}/{{ repo.owner }}/{{ repo.name }}">{{ repo.name }}</a>
|
|
|
|
<span>/</span>
|
|
|
|
<a href="#">{{ commit.sha | shortHash}}</a>
|
|
|
|
</nav>
|
2014-09-28 02:52:10 +00:00
|
|
|
<div id="follow">
|
|
|
|
<button ng-click="follow()" ng-if="following == false">follow</button>
|
|
|
|
<button ng-click="unfollow()" ng-if="following == true">unfollow</button>
|
|
|
|
</div>
|
2014-07-12 02:10:18 +00:00
|
|
|
<pre id="output"></pre>
|
2014-06-21 21:22:38 +00:00
|
|
|
</div>
|
2014-09-28 02:52:10 +00:00
|
|
|
</div>
|