aboutsummaryrefslogtreecommitdiff
path: root/templates/repo
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/header.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index 45feff48..2193d0a5 100644
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -49,7 +49,7 @@
{{if not .IsDiffCompare}}
<div class="ui tabs container">
<div class="ui tabular menu navbar">
- <a class="{{if .PageIsViewCode}}active{{end}} item" href="{{.RepoLink}}">
+ <a class="{{if .PageIsViewFiles}}active{{end}} item" href="{{.RepoLink}}">
<i class="octicon octicon-file-text"></i> {{.i18n.Tr "repo.files"}}
</a>
{{if .Repository.EnableIssues}}