mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-20 23:46:49 +00:00
39 lines
No EOL
965 B
Text
39 lines
No EOL
965 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
|
|
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"]
|
|
|
|
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.
|
|
|
|
block append scripts
|
|
script
|
|
$(document).ready(function() {
|
|
$(".timeago").timeago();
|
|
}); |