mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 23:05:30 +08:00
ce82d18df5
improve tab "active" detection for categories
22 lines
730 B
Handlebars
22 lines
730 B
Handlebars
<div class="commits-widget">
|
|
<div class="header" {{action "goToGithub"}}>
|
|
<h1>
|
|
<i class="icon icon-github"></i>
|
|
{{i18n admin.commits.latest_changes}}
|
|
</h1>
|
|
</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>
|
|
</div>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|