BufFix for the repository viewer.

This commit is contained in:
takezoe
2013-06-05 14:15:23 +09:00
parent 54ca687995
commit 927ff5f8c1
2 changed files with 26 additions and 8 deletions

View File

@@ -6,11 +6,11 @@
@navtab(branch, repository, "files")
<div class="head">
<a href="@path/@repository.owner/@repository.name/tree/@branch">@repository.name</a> /
@pathList.zipWithIndex.map { case (path, i) =>
@pathList.zipWithIndex.map { case (section, i) =>
@if(i == pathList.length - 1){
@path
@section
} else {
<a href="@path/@repository.owner/@repository.name/tree/@branch/@pathList.take(i + 1).mkString("/")">@path</a> /
<a href="@path/@repository.owner/@repository.name/tree/@branch/@pathList.take(i + 1).mkString("/")">@section</a> /
}
}
</div>