harness-drone/server/template/user_feed.amber
2014-06-04 14:25:38 -07:00

33 lines
No EOL
797 B
Text

extends base
block title
| Build Feed
block content
article
header
h1 Build Feed
a[href="/account/repos"].pure-button
i.fa.fa-plus
section
div.activity-list
each $commit in Feed
a.pure-g.activity-item[data-status=Status][href="/"+Remote+"/"+Owner+"/"+Name+"/branch/"+Branch+"/commit/"+Sha]
div.pure-u-1-8
img[src="https://secure.gravatar.com/avatar/" + Gravatar + "?s=48&d=identicon"]
div.pure-u-3-4
h2
span #{Owner}
span.divider /
span #{Name}
p.activity-message #{Message}
span.activity-sha #{ShaShort}
span.activity-branch #{Branch}
span.activity-date.timeago[title=FinishedString]
block append scripts
script
$(document).ready(function() {
$(".timeago").timeago();
});