diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-12 18:29:58 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-12 18:29:58 -0400 |
commit | cfed11f092580ecf47cff43274c7cdd10d07bffd (patch) | |
tree | 0fc15282e980d9e65341a3ad009f982db0a10b5a /templates/repo/view_file.tmpl | |
parent | f67c59135fe258a9e839af7f839770b445d58732 (diff) | |
download | gitea-cfed11f092580ecf47cff43274c7cdd10d07bffd.tar.gz gitea-cfed11f092580ecf47cff43274c7cdd10d07bffd.zip |
Bug: Transfer repository doesn't update the count
Diffstat (limited to 'templates/repo/view_file.tmpl')
-rw-r--r-- | templates/repo/view_file.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl index fb05945b9f..96efcdac54 100644 --- a/templates/repo/view_file.tmpl +++ b/templates/repo/view_file.tmpl @@ -14,7 +14,7 @@ </p> <div class="{{if .ReadmeExist}}panel-content markdown{{end}} code-view"> {{if .ReadmeExist}} - {{.FileContent | Str2html}} + {{if .FileContent}}{{.FileContent | Str2html}}{{end}} {{else if not .IsFileText}} <div class="view-raw"> {{if .IsImageFile}} |