diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-16 03:41:22 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-16 03:41:22 -0400 |
commit | 8de9517862acd77c27da015654fc236a6722d188 (patch) | |
tree | 5f228f7f9948945dfd4629f05c9d69eb28332e9d /templates/repo/single.tmpl | |
parent | c3e0554fd77f976b58a8da10d4878353bb895a78 (diff) | |
download | gitea-8de9517862acd77c27da015654fc236a6722d188.tar.gz gitea-8de9517862acd77c27da015654fc236a6722d188.zip |
Mirror fix
Diffstat (limited to 'templates/repo/single.tmpl')
-rw-r--r-- | templates/repo/single.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/single.tmpl b/templates/repo/single.tmpl index 5774c0051d..8ea7e2bbf9 100644 --- a/templates/repo/single.tmpl +++ b/templates/repo/single.tmpl @@ -10,8 +10,8 @@ <a href="#" class="btn btn-success dropdown-toggle" data-toggle="dropdown"><i class="fa fa-chain"></i>master <b class="caret"></b></a> <ul class="dropdown-menu"> - <li><a class="current" href="/{{.RepositoryLink}}/branch/master">master</a></li> - <li><a href="//{{.RepositoryLink}}/branch/develop">develop</a></li> + <li><a class="current" href="/{{.RepositoryLink}}/tree/master">master</a></li> + <li><a href="/{{.RepositoryLink}}/tree/develop">develop</a></li> </ul> </div> {{$paths := .Paths}} @@ -47,7 +47,7 @@ {{if .IsDir}} <a href="/{{$username}}/{{$reponame}}/tree/{{$branchname}}/{{.Path}}">{{.Name}}</a> {{else}} - <a href="#">{{.Name}} - {{FileSize .Size}}</a> + <a href="/{{$username}}/{{$reponame}}/blob/{{$branchname}}/{{.Name}}">{{.Name}} - {{FileSize .Size}}</a> {{end}}</td> <td class="date"><time datetime="{{.Created}}" data-title="true" title="{{.Created}}">{{TimeSince .Created}}</time></td> <td class="text">{{.Message}}</td> |