diff options
author | Unknwon <u@gogs.io> | 2015-03-23 10:19:19 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-03-23 10:19:19 -0400 |
commit | 2bb982dada0012d59ead783aaf90e730351171cc (patch) | |
tree | 329bd89296092d68680cf99223900d46e338eff7 /templates/base | |
parent | ade343f6dc2fda5d988ddb00c3a8460dd64bc42a (diff) | |
download | gitea-2bb982dada0012d59ead783aaf90e730351171cc.tar.gz gitea-2bb982dada0012d59ead783aaf90e730351171cc.zip |
#1080: Remove footer ads/branding from default template
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/footer.tmpl | 2 | ||||
-rw-r--r-- | templates/base/footer_old.tmpl | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index eb075309ce..ad629816e2 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -5,10 +5,12 @@ © 2015 Gogs · {{.i18n.Tr "version"}}: {{AppVer}} · {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> · {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong> </div> <div class="ui right links"> + {{if .ShowFooterBranding}} <a target="_blank" href="https://github.com/gogits/gogs"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a> <a target="_blank" href="https://twitter.com/gogitservice"><i class="fa fa-twitter"></i><span class="sr-only">Twitter</span></a> <a target="_blank" href="https://plus.google.com/communities/115599856376145964459"><i class="fa fa-google-plus"></i><span class="sr-only">Google Plus</span></a> <a target="_blank" href="http://weibo.com/gogschina"><i class="fa fa-weibo"></i><span class="sr-only">Sina Weibo</span></a> + {{end}} <div class="ui language bottom pointing dropdown link item"> <i class="world icon"></i> <div class="text">{{.LangName}}</div> diff --git a/templates/base/footer_old.tmpl b/templates/base/footer_old.tmpl index aed5f488d2..adc831425a 100644 --- a/templates/base/footer_old.tmpl +++ b/templates/base/footer_old.tmpl @@ -10,9 +10,11 @@ </p> </div> + {{if .ShowFooterBranding}} <div class="col-md-2" style="margin: -5px;"> <a target="_blank" href="https://github.com/gogits/gogs"><i class="fa fa-github fa-2x"></i></a> </div> + {{end}} <div class="col-md-4"> <p class="desc"> |