summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-03-23 10:19:19 -0400
committerUnknwon <u@gogs.io>2015-03-23 10:19:19 -0400
commit2bb982dada0012d59ead783aaf90e730351171cc (patch)
tree329bd89296092d68680cf99223900d46e338eff7 /templates
parentade343f6dc2fda5d988ddb00c3a8460dd64bc42a (diff)
downloadgitea-2bb982dada0012d59ead783aaf90e730351171cc.tar.gz
gitea-2bb982dada0012d59ead783aaf90e730351171cc.zip
#1080: Remove footer ads/branding from default template
Diffstat (limited to 'templates')
-rw-r--r--templates/.VERSION2
-rw-r--r--templates/base/footer.tmpl2
-rw-r--r--templates/base/footer_old.tmpl2
-rw-r--r--templates/ng/base/footer.tmpl2
4 files changed, 7 insertions, 1 deletions
diff --git a/templates/.VERSION b/templates/.VERSION
index caa194a5cf..56c56c927f 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.6.0.0320 Beta \ No newline at end of file
+0.6.0.0323 Beta \ No newline at end of file
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">
diff --git a/templates/ng/base/footer.tmpl b/templates/ng/base/footer.tmpl
index 89836fca23..bafcc46ef7 100644
--- a/templates/ng/base/footer.tmpl
+++ b/templates/ng/base/footer.tmpl
@@ -5,10 +5,12 @@
{{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong></p>
<div class="right" id="footer-links">
+ {{if .ShowFooterBranding}}
<a target="_blank" href="https://github.com/gogits/gogs"><i class="fa fa-github-square"></i></a>
<a target="_blank" href="https://twitter.com/gogitservice"><i class="fa fa-twitter"></i></a>
<a target="_blank" href="https://plus.google.com/communities/115599856376145964459"><i class="fa fa-google-plus"></i></a>
<a target="_blank" href="http://weibo.com/gogschina"><i class="fa fa-weibo"></i></a>
+ {{end}}
<div id="footer-lang" class="inline drop drop-top">{{.i18n.Tr "language"}}
<div class="drop-down">
<ul class="menu menu-vertical switching-list">