Add 'Browse code' button to the commit details page.

This commit is contained in:
takezoe
2013-06-19 15:24:28 +09:00
parent a5a993060a
commit 1f195f1cb1

View File

@@ -8,6 +8,9 @@
<table class="table table-bordered">
<tr>
<th>
<div class="pull-right align-right">
<a href="@path/@repository.owner/@repository.name/tree/@commit.id" class="btn btn-small">Browse code</a>
</div>
<div class="commit-log">@commit.shortMessage</div>
@if(commit.description.isDefined){
<pre class="commit-description">@commit.description.get</pre>