quick fix to add author to page

This commit is contained in:
Brad Rydzewski 2014-08-11 23:29:06 -07:00
parent dcdb1605b0
commit 8d1f9de883
3 changed files with 12 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -1082,6 +1082,14 @@ nav {
background-size: 30px 30px;
}
.l-box {
em {
line-height:19px;
bottom: 25px;
}
}
.l-box:after {
font-family: 'FontAwesome';
content: "\f104";

View file

@ -41,9 +41,9 @@
<a class="pure-u-1 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4 card card" ng-href="/{{ repo | fullPath }}/{{ commit.branch }}/{{ commit.sha }}" ng-repeat="commit in commits | filter: { branch: group.branch } | limitTo:4" data-status="{{ commit.status }}">
<div class="l-box">
<h2>{{ commit.message }}</h2>
<em ng-if="commit.finished_at != 0">{{ commit.finished_at | fromNow }}</em>
<em ng-if="commit.finished_at == 0 && commit.started_at != 0">Started {{ commit.started_at | fromNow }}</em>
<em ng-if="commit.finished_at == 0 && commit.started_at == 0">Created {{ commit.created_at}}</em>
<em ng-if="commit.finished_at != 0">{{ commit.author }}<br/>{{ commit.finished_at | fromNow }}</em>
<em ng-if="commit.finished_at == 0 && commit.started_at != 0">{{ commit.author }}<br/>Started {{ commit.started_at | fromNow }}</em>
<em ng-if="commit.finished_at == 0 && commit.started_at == 0">{{ commit.author }}<br/>Created {{ commit.created_at}}</em>
<img ng-src="{{ commit.gravatar | gravatar }}" />
</div>
</a>