diff options
author | Unknwon <joe2010xtmf@163.com> | 2015-02-06 21:16:23 -0500 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2015-02-06 21:16:23 -0500 |
commit | 216683004e8bf3e7523236416be21b2123d32e8e (patch) | |
tree | 4f4f4d1daac9177c926250f2634dd4d97b2f0a37 /templates/ng | |
parent | 87b90372a7a30fb9431e03d84d766c92447ff297 (diff) | |
download | gitea-216683004e8bf3e7523236416be21b2123d32e8e.tar.gz gitea-216683004e8bf3e7523236416be21b2123d32e8e.zip |
code fix for #908, and work for #884
Diffstat (limited to 'templates/ng')
-rw-r--r-- | templates/ng/base/header.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/ng/base/header.tmpl b/templates/ng/base/header.tmpl index aec4e2ef66..da9218368d 100644 --- a/templates/ng/base/header.tmpl +++ b/templates/ng/base/header.tmpl @@ -49,10 +49,12 @@ <li class="right" id="header-nav-sign-in"> <a href="{{AppSubUrl}}/user/login" title="Sign In"><i class="octicon octicon-sign-in"></i> {{.i18n.Tr "sign_in"}}</a> </li> + {{if .ShowRegistrationButton}} <li class="right"> <a href="{{AppSubUrl}}/user/sign_up" title="Account Settings"><i class="octicon octicon-person-add"></i> {{.i18n.Tr "register"}}</a> </li> {{end}} + {{end}} {{end}} </ul> </header>
\ No newline at end of file |