discourse/app/assets/javascripts/admin/templates/commits.js.handlebars

22 lines
726 B
Handlebars
Raw Normal View History

2013-03-12 03:26:14 +08:00
<div class="commits-widget">
<div class="header" {{action "goToGithub"}}>
<h1>
2013-12-10 05:27:49 +08:00
<i class="fa fa-github"></i>
{{i18n admin.commits.latest_changes}}
</h1>
2013-03-12 03:26:14 +08:00
</div>
<ul class="commits-list">
{{#each controller}}
<li>
<div class="left">
<img {{bindAttr src="gravatarUrl"}}>
</div>
<div class="right">
<span class="commit-message"><a {{bindAttr href="commitUrl"}} target="_blank">{{ commit.message }}</a></span><br/>
<span class="commit-meta">{{i18n admin.commits.by}} <span class="committer-name">{{ commit.author.name }}</span> - <span class="commit-time">{{{ timeAgo }}}</span></span>
2013-03-12 03:26:14 +08:00
</div>
</li>
{{/each}}
</ul>
</div>