discourse/lib/oneboxer/templates/github_commit_onebox.hbrs
2013-04-03 03:36:38 +02:00

22 lines
906 B
Plaintext

<div class="onebox-result">
{{#host}}
<div class="source">
<div class="info">
<a href="{{html_url}}" target="_blank">
{{#favicon}}<img class="favicon" src="{{favicon}}"> {{/favicon}}{{host}}
</a>
</div>
</div>
{{/host}}
<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="{{author.html_url}}" target="_blank">{{author.login}}</a></h4>
{{{commit.message}}}
<div class="github-commit-stats">Changed <strong>{{files.length}} files</strong> with <strong>{{stats.additions}} additions</strong> and <strong>{{stats.deletions}} deletions</strong>.</div>
<div class="date">
<a href="{{html_url}}" target="_blank">{{commit_date}}</a>
</div>
</div>
<div class="clearfix"></div>
</div>