diff options
author | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-09-27 17:31:44 +0800 |
---|---|---|
committer | fuxiaohei <fuxiaohei@vip.qq.com> | 2014-09-27 17:31:44 +0800 |
commit | e3a27aeb25f5de7daaf279ec049830628e2cc3a6 (patch) | |
tree | 130bcfafe5bd8ef7d826d8b25714821e1cb28694 /templates/repo/home.tmpl | |
parent | dccc50e9d4d217cea91d76f17fa60bf5c0a6fb03 (diff) | |
download | gitea-e3a27aeb25f5de7daaf279ec049830628e2cc3a6.tar.gz gitea-e3a27aeb25f5de7daaf279ec049830628e2cc3a6.zip |
template and ui fix
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r-- | templates/repo/home.tmpl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index a9d7f30403..476277a807 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -4,9 +4,11 @@ {{template "repo/header" .}} <div id="repo-content" class="clear container"> <div id="repo-main" class="left grid-5-6"> - <p id="repo-desc"> + <p id="repo-desc">{{if .Repository.DescriptionHtml}} <span class="description">{{.Repository.DescriptionHtml}}</span> - <a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a> + <a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a>{{else}} + <span class="no-description text-italic"><i>No Description</i></span> + {{end}} </p> <ul id="repo-file-nav" class="clear menu menu-line"> <!-- <li> |