diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/home.tmpl | 6 | ||||
-rw-r--r-- | templates/repo/pulls.tmpl | 2 |
2 files changed, 5 insertions, 3 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> diff --git a/templates/repo/pulls.tmpl b/templates/repo/pulls.tmpl index a36c50ab0b..bfb0905557 100644 --- a/templates/repo/pulls.tmpl +++ b/templates/repo/pulls.tmpl @@ -2,7 +2,7 @@ {{template "ng/base/header" .}} <div id="repo-wrapper"> {{template "repo/header" .}} - <div class="clear container repo-issue-wrapper repo-pr"> + <div class="clear container repo-wide-wrapper repo-pr"> <div class="pr-main"> <div class="pr-title clear"> <h2 class="pr-title grid-5-6 left">Fix: Repo Name can not be converted to lower in some cases <span class="pr-num">#256</span></h2> |