(refs #13)Implementing file editing on the repository viewer

This commit is contained in:
takezoe
2014-04-24 02:19:29 +09:00
parent b9cc46e5ef
commit dd688f48b7
4 changed files with 96 additions and 53 deletions

View File

@@ -29,6 +29,7 @@
<a href="@url(repository)/commit/@latestCommit.id" class="commit-message">@link(latestCommit.summary, repository)</a>
</div>
<div class="btn-group pull-right">
<a class="btn btn-mini" href="@url(repository)/edit/@encodeRefName(branch)/@pathList.mkString("/")">Edit</a>
<a class="btn btn-mini" href="?raw=true">Raw</a>
<a class="btn btn-mini" href="@url(repository)/commits/@encodeRefName(branch)/@pathList.mkString("/")">History</a>
</div>