mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +00:00
Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
Conflicts: modules/setting/setting.go Conflicts: templates/repo/release/list.tmpl templates/user/dashboard/dashboard.tmpl Conflicts: routers/repo/setting.go
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<p class="panel-header"><strong>{{.i18n.Tr "home.switch_dashboard_context"}}</strong></p>
|
||||
<ul class="menu menu-vertical switching-list" id="dashboard-switch-menu">
|
||||
<li class="org {{if eq .ContextUser.Id .SignedUser.Id}}checked{{end}}">
|
||||
<a href="/">
|
||||
<a href="{{AppRootSubUrl}}/">
|
||||
<i class="octicon octicon-check"></i>
|
||||
<img class="avatar-24" src="{{.SignedUser.AvatarLink}}" alt="user-avatar" />
|
||||
{{.SignedUser.Name}}
|
||||
@@ -25,10 +25,10 @@
|
||||
</li>
|
||||
{{end}}
|
||||
<!-- <li>
|
||||
<a href="/user/settings/orgs"><i class="octicon octicon-organization"></i>{{.i18n.Tr "manage_org"}}</a>
|
||||
<a href="{{AppRootSubUrl}}/user/settings/orgs"><i class="octicon octicon-organization"></i>{{.i18n.Tr "manage_org"}}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<a href="/org/create"><i class="octicon octicon-plus"></i>{{.i18n.Tr "new_org"}}</a>
|
||||
<a href="{{AppRootSubUrl}}/org/create"><i class="octicon octicon-plus"></i>{{.i18n.Tr "new_org"}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user