summaryrefslogtreecommitdiffstats
path: root/templates/repo/home.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-24 21:35:03 -0700
committerUnknwon <u@gogs.io>2016-08-24 21:35:03 -0700
commitf8a48ffaad481ee9eaa8a42e0e7d64c12c90ef86 (patch)
tree21ee3e7965c77c16fcdaa209f01cebae6a809625 /templates/repo/home.tmpl
parent67fb0fe6a5783f772abfb5438a154435dafff4de (diff)
downloadgitea-f8a48ffaad481ee9eaa8a42e0e7d64c12c90ef86.tar.gz
gitea-f8a48ffaad481ee9eaa8a42e0e7d64c12c90ef86.zip
Web editor: improve code quality
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r--templates/repo/home.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index 3f2e54c033..bba5827744 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -2,6 +2,7 @@
<div class="repository file list">
{{template "repo/header" .}}
<div class="ui container">
+ {{template "base/alert" .}}
<p id="repo-desc">
{{if .Repository.DescriptionHtml}}<span class="description has-emoji">{{.Repository.DescriptionHtml}}</span>{{else}}<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>{{end}}
<a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a>