Convert issue id and commit id in commit message to link.

This commit is contained in:
takezoe
2013-06-22 14:07:26 +09:00
parent fb51210ccc
commit 0ee827eaf5
6 changed files with 28 additions and 12 deletions

View File

@@ -21,7 +21,7 @@
<div class="pull-left">
<a href="@path/@latestCommit.committer" class="username">@latestCommit.committer</a>
<span class="description">@helpers.datetime(latestCommit.time)</span>
<a href="@path/@repository.owner/@repository.name/commit/@latestCommit.id" class="commit-message">@latestCommit.shortMessage</a>
<a href="@path/@repository.owner/@repository.name/commit/@latestCommit.id" class="commit-message">@helpers.link(latestCommit.shortMessage, repository)</a>
</div>
<div class="btn-group pull-right">
<a class="btn btn-mini" href="?raw=true">Raw</a>