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

18 lines
653 B
Handlebars
Raw Normal View History

2013-03-11 15:26:14 -04:00
<div class="commits-widget">
<div class="header" {{action "goToGithub"}}>
2013-03-14 06:59:40 -04:00
<h1>{{i18n admin.commits.latest_changes}}</h1>
2013-03-11 15:26:14 -04: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">by <span class="committer-name">{{ commit.author.name }}</span> - <span class="commit-time">{{ timeAgo }}</span></span>
</div>
</li>
{{/each}}
</ul>
</div>