diff options
author | Thedro Neely <thedroneely@gmail.com> | 2020-01-23 03:58:47 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2020-01-23 03:58:47 -0500 |
commit | 36d5d2cca75dc49098efbc23e4599dc226d211b0 (patch) | |
tree | 31ee3a5fe981f4fb27b9dbb115d0881853be53a4 /templates/repo/header.tmpl | |
parent | 29e18042620fcddccf3e68fa2f772697773fd87d (diff) | |
download | gitea-templates-36d5d2cca75dc49098efbc23e4599dc226d211b0.tar.gz gitea-templates-36d5d2cca75dc49098efbc23e4599dc226d211b0.tar.bz2 gitea-templates-36d5d2cca75dc49098efbc23e4599dc226d211b0.zip |
templates/repo/header: Repo description on top
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r-- | templates/repo/header.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index b1b3118..9f3e3ae 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -49,6 +49,14 @@ </div> {{end}} </div><!-- end grid --> + +<div class="ui repo-description repo-description-custom"> + <div id="repo-desc"> + {{if .DescriptionHTML}}<span class="description has-emoji">{{.DescriptionHTML}}</span>{{else if .IsRepositoryAdmin}}<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>{{end}} + <a class="link" href="{{.Website}}">{{.Website}}</a> + </div> + </div> + </div><!-- end container --> {{end}} <div class="ui tabs container"> |