summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-16 03:41:22 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-16 03:41:22 -0400
commit8de9517862acd77c27da015654fc236a6722d188 (patch)
tree5f228f7f9948945dfd4629f05c9d69eb28332e9d /templates/repo
parentc3e0554fd77f976b58a8da10d4878353bb895a78 (diff)
downloadgitea-8de9517862acd77c27da015654fc236a6722d188.tar.gz
gitea-8de9517862acd77c27da015654fc236a6722d188.zip
Mirror fix
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/setting.tmpl2
-rw-r--r--templates/repo/single.tmpl6
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/setting.tmpl b/templates/repo/setting.tmpl
index 5e0a9f6cb9..225e229429 100644
--- a/templates/repo/setting.tmpl
+++ b/templates/repo/setting.tmpl
@@ -14,7 +14,7 @@
</div>
<div id="gogs-repo-setting-container" class="col-md-9 tab-content">
<div id="options" class="tab-pane">
- repo-options
+ <h4>Repository Options</h4>
</div>
<div id="delete" class="tab-pane">
<h4>Delete Repository</h4>
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&nbsp;&nbsp;
<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>