summaryrefslogtreecommitdiffstats
path: root/templates/repo/view_file.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-31 16:24:28 +0900
committerUnknwon <u@gogs.io>2015-08-31 16:24:28 +0900
commit1ca257ad9f90084f4140bd1df4692f9a56c83ad4 (patch)
tree124a621e8f2d60eea02215e949142bcdd684b791 /templates/repo/view_file.tmpl
parentcb381078ffa9f9a6178110be304dfcac5715e323 (diff)
downloadgitea-1ca257ad9f90084f4140bd1df4692f9a56c83ad4.tar.gz
gitea-1ca257ad9f90084f4140bd1df4692f9a56c83ad4.zip
rename fields
Diffstat (limited to 'templates/repo/view_file.tmpl')
-rw-r--r--templates/repo/view_file.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl
index 274c7df22e..a0d6781cbc 100644
--- a/templates/repo/view_file.tmpl
+++ b/templates/repo/view_file.tmpl
@@ -13,7 +13,7 @@
{{end}}
{{if not .ReadmeInList}}
{{if not .IsCommit}}
- <a class="right" href="{{.RepoLink}}/src/{{.CommitId}}/{{EscapePound .TreeName}}">
+ <a class="right" href="{{.RepoLink}}/src/{{.CommitID}}/{{EscapePound .TreeName}}">
<button class="btn btn-medium btn-gray btn-right-radius btn-comb">{{.i18n.Tr "repo.file_permalink"}}</button>
</a>
{{end}}