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 | |
parent | f67c59135fe258a9e839af7f839770b445d58732 (diff) | |
download | gitea-cfed11f092580ecf47cff43274c7cdd10d07bffd.tar.gz gitea-cfed11f092580ecf47cff43274c7cdd10d07bffd.zip |
Bug: Transfer repository doesn't update the count
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.VERSION | 2 | ||||
-rw-r--r-- | templates/repo/view_file.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/.VERSION b/templates/.VERSION index 18a13b3a73..e53dedcbf4 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.5.0.0910 Beta
\ No newline at end of file +0.5.0.0912 Beta
\ No newline at end of file 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}} |