summaryrefslogtreecommitdiffstats
path: root/templates/org/team/members.tmpl
diff options
context:
space:
mode:
author无闻 <joe2010xtmf@163.com>2014-09-19 19:02:40 -0400
committer无闻 <joe2010xtmf@163.com>2014-09-19 19:02:40 -0400
commit6a7bd097fe2b3e894830fc3fdb60dde5594b61d6 (patch)
tree64a9ea617ba1f704139881c3960fa2425dad9018 /templates/org/team/members.tmpl
parent4f74b4e6578be4251af65cd08daa37c884e431a0 (diff)
parent0055cbd3651ebde0f8b6cc70c9c44de56dc38830 (diff)
downloadgitea-6a7bd097fe2b3e894830fc3fdb60dde5594b61d6.tar.gz
gitea-6a7bd097fe2b3e894830fc3fdb60dde5594b61d6.zip
Merge pull request #463 from chadoe/urlroot
Allow Gogs to run from a suburl behind a reverse proxy.
Diffstat (limited to 'templates/org/team/members.tmpl')
-rw-r--r--templates/org/team/members.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/org/team/members.tmpl b/templates/org/team/members.tmpl
index d3176be152..ad9b30ed3a 100644
--- a/templates/org/team/members.tmpl
+++ b/templates/org/team/members.tmpl
@@ -30,7 +30,7 @@
{{if $.IsOrganizationOwner}}
<a class="btn btn-small btn-red btn-radius right" href="{{$.OrgLink}}/teams/{{$.Team.LowerName}}/action/remove?uid={{.Id}}">{{$.i18n.Tr "org.members.remove"}}</a>
{{end}}
- <a class="member" href="/{{.Name}}">
+ <a class="member" href="{{AppRootSubUrl}}/{{.Name}}">
<img alt="{{.Name}}" class="pull-left avatar" src="{{.AvatarLink}}">
<strong>{{.FullName}}</strong> ({{.Name}})
</a>