harness-drone/server/template/user_feed.amber

39 lines
965 B
Text
Raw Normal View History

2014-06-04 21:25:38 +00:00
extends base
block title
| Build Feed
block content
article
header
h1 Build Feed
a[href="/account/repos"].pure-button
i.fa.fa-plus
section
2014-06-05 23:19:25 +00:00
if Feed
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"]
2014-06-04 21:25:38 +00:00
2014-06-05 23:19:25 +00:00
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]
else
div.alert.alert-info
| Your build feed is empty.
a[href="/account/repos"] Setup
| your repositories to get started.
2014-06-04 21:25:38 +00:00
block append scripts
script
$(document).ready(function() {
$(".timeago").timeago();
});