summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-17 19:56:33 +0800
committerslene <vslene@gmail.com>2014-03-17 19:56:33 +0800
commitf90e37ade0bcb82a8381e861730b87399e4a3b45 (patch)
tree96f532f136d3b72c37549b94a74cc48b76117f46 /templates/repo
parentee93186f72262e702661df1469d72546de426787 (diff)
downloadgitea-f90e37ade0bcb82a8381e861730b87399e4a3b45.tar.gz
gitea-f90e37ade0bcb82a8381e861730b87399e4a3b45.zip
fixed
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/single.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/single.tmpl b/templates/repo/single.tmpl
index c22f129fb7..561deb253f 100644
--- a/templates/repo/single.tmpl
+++ b/templates/repo/single.tmpl
@@ -83,6 +83,7 @@
</tbody>
</table>
</div>
+ {{if .ReadmeExist}}
<div class="panel panel-default file-content">
<div class="panel-heading file-head">
<i class="icon fa fa-book"></i> README.md
@@ -97,6 +98,7 @@
</div>
{{end}}
</div>
+ {{end}}
</div>
</div>
{{template "base/footer" .}} \ No newline at end of file