Browse Source

Changed footer around

Fixes DisableMinimumKeySizeCheck error?
pull/2423/head
ExMex 9 years ago
parent
commit
e00a4140b8
  1. 2
      modules/setting/setting.go
  2. 7
      templates/base/footer.tmpl

2
modules/setting/setting.go

@ -451,10 +451,10 @@ var Service struct {
RequireSignInView bool
EnableCacheAvatar bool
EnableNotifyMail bool
DisableMinimumKeySizeCheck bool
EnableReverseProxyAuth bool
EnableReverseProxyAutoRegister bool
EnableCaptcha bool
DisableMinimumKeySizeCheck bool
}
func newService() {

7
templates/base/footer.tmpl

@ -7,13 +7,10 @@
<footer>
<div class="ui container">
<div class="ui left">
© 2016 Gogs {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>
&copy; 2013-2016 Flying Penguin {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{.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="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 slide up dropdown link item">
<i class="world icon"></i>
@ -24,7 +21,7 @@
{{end}}
</div>
</div>
<a target="_blank" href="http://gogs.io">{{.i18n.Tr "website"}}</a>
<a target="_blank" href="http://flyingpenguin1">{{.i18n.Tr "website"}}</a>
{{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}}
</div>
</div>

Loading…
Cancel
Save