discourse/lib/oneboxer/templates/github_commit_onebox.hbrs

39 lines
1.1 KiB
Text
Raw Normal View History

2013-04-02 21:36:38 -04:00
<div class="onebox-result">
{{#host}}
<div class="source">
<div class="info">
2013-04-07 20:24:12 -04:00
<a href="{{html_url}}" class="track-link" target="_blank">
{{#favicon}}
<img class="favicon" src="{{favicon}}">
{{/favicon}}
{{host}}
2013-04-02 21:36:38 -04:00
</a>
</div>
</div>
{{/host}}
2013-04-02 21:36:38 -04:00
<div class="onebox-result-body">
{{#author.avatar_url}}
<a href="{{author.html_url}}" target="_blank">
<img alt="{{author.login}}" src="{{author.avatar_url}}">
</a>
{{/author.avatar_url}}
<h4>
<a href="{{html_url}}" target="_blank">{{commit.message}}</a>
</h4>
2013-04-02 21:36:38 -04:00
<div class="date">
by <a href="{{author.html_url}}" target="_blank">{{author.login}}</a>
on <a href="{{html_url}}" target="_blank">{{commit_date}}</a>
</div>
<div class="github-commit-stats">
changed <strong>{{files.length}} files</strong>
with <strong>{{stats.additions}} additions</strong>
and <strong>{{stats.deletions}} deletions</strong>.
2013-04-02 21:36:38 -04:00
</div>
</div>
<div class="clearfix"></div>
</div>