discourse/app/assets/javascripts/admin/templates/commits.js.handlebars
Robin Ward 4981525047 REFACTOR: Fixes poor class hierarchy for listing topics
- Upgrades Ember to latest
- Fixes a bunch of bugs with page titles and missing "active" states
2014-01-18 19:26:24 +01:00

21 lines
728 B
Handlebars

<div class="commits-widget">
<div class="header" {{action "goToGithub"}}>
<h1>
<i class="fa fa-github"></i>
{{i18n admin.commits.latest_changes}}
</h1>
</div>
<ul class="commits-list">
{{#each controller}}
<li>
<div class="left">
<img {{bind-attr src="gravatarUrl"}}>
</div>
<div class="right">
<span class="commit-message"><a {{bind-attr 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>
</div>
</li>
{{/each}}
</ul>
</div>