text/html
•
615 B
•
11 lines
<div class="commit-bar">
{% if let Some(commit) = info.commits.first() %}
<div class="commit">
<span class="commit-author" title="{{ commit.author }}">{{ commit.author }}</span>
<span class="commit-message" title="{{ commit.message }}">{{ commit.message }}</span>
<span class="commit-id">{{ commit.id }}</span>
<span class="commit-time">{{ commit.relative_time() }}</span>
<a href="{{ project.uri_log(selected_branch, 0) }}" class="commit-count"><span class="icon i-history"></span> {{ info.commit_count }} Commit{% if info.commit_count != 1 %}s{% endif %}</a>
</div>
{% endif %}
</div>