diff options
Diffstat (limited to 'templates/base/head.tmpl')
-rw-r--r-- | templates/base/head.tmpl | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 17c26ea248..80f771ebc3 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -8,6 +8,7 @@ <meta name="keywords" content="go, git, self-hosted, gogs"> <meta name="referrer" content="no-referrer" /> <meta name="_csrf" content="{{.CsrfToken}}" /> + <meta name="_suburl" content="{{AppSubUrl}}" /> {{if .GoGetImport}} <meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}"> {{end}} @@ -66,13 +67,13 @@ </span> <div class="menu"> <a class="item" href="{{AppSubUrl}}/repo/create"> - <i class="octicon octicon-repo-create"></i> {{.i18n.Tr "new_repo"}} + <i class="icon octicon octicon-repo-create"></i> {{.i18n.Tr "new_repo"}} </a> <a class="item" href="{{AppSubUrl}}/repo/migrate"> - <i class="octicon octicon-repo-clone"></i> {{.i18n.Tr "new_migrate"}} + <i class="icon octicon octicon-repo-clone"></i> {{.i18n.Tr "new_migrate"}} </a> <a class="item" href="{{AppSubUrl}}/org/create"> - <i class="octicon octicon-organization"></i> {{.i18n.Tr "new_org"}} + <i class="icon octicon octicon-organization"></i> {{.i18n.Tr "new_org"}} </a> </div><!-- end content create new menu --> </div><!-- end dropdown menu create new --> @@ -89,15 +90,15 @@ <div class="divider"></div> <a class="item" href="{{AppSubUrl}}/{{.SignedUser.Name}}"> - <i class="octicon icon octicon-person"></i> + <i class="icon octicon octicon-person"></i> {{.i18n.Tr "your_profile"}}<!-- Your profile --> </a> <a class="{{if .PageIsUserSettings}}active{{end}} item" href="{{AppSubUrl}}/user/settings"> - <i class="octicon icon octicon-settings"></i> + <i class="icon octicon octicon-settings"></i> {{.i18n.Tr "your_settings"}}<!-- Your settings --> </a> <a class="item" target="_blank" href="http://gogs.io/docs" rel="noreferrer"> - <i class="octicon icon octicon-question"></i> + <i class="icon octicon octicon-question"></i> {{.i18n.Tr "help"}}<!-- Help --> </a> {{if .IsAdmin}} @@ -111,7 +112,7 @@ <div class="divider"></div> <a class="item" href="{{AppSubUrl}}/user/logout"> - <i class="octicon icon octicon-sign-out"></i> + <i class="icon octicon octicon-sign-out"></i> {{.i18n.Tr "sign_out"}}<!-- Sign Out --> </a> </div><!-- end content avatar menu --> |