diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-28 01:38:25 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-28 01:38:25 -0400 |
commit | 49193bebd283322bb997b7aed09fc7818a881af9 (patch) | |
tree | 36d99aba259628c518d903da8c74d70b34413eeb /templates/repo/home.tmpl | |
parent | ad2ab6d21496e60e7589c44bdfcc15bba01ae9dd (diff) | |
download | gitea-49193bebd283322bb997b7aed09fc7818a881af9.tar.gz gitea-49193bebd283322bb997b7aed09fc7818a881af9.zip |
UI: Confirmation box
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r-- | templates/repo/home.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 32fbf58226..aa303aaac4 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -5,7 +5,7 @@ <div id="repo-content" class="clear container"> <div id="repo-main" class="left grid-4-5"> <p id="repo-desc"> - <span class="description">{{.Repository.DescriptionHtml}}</span> + {{if .Repository.DescriptionHtml}}<span class="description">{{.Repository.DescriptionHtml}}</span>{{else}}<span class="no-desc">{{.i18n.Tr "repo.no_desc"}}</span>{{end}} <a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a> </p> <ul id="repo-file-nav" class="clear menu menu-line"> |