aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/team
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-09-19 20:11:34 -0400
committerUnknwon <joe2010xtmf@163.com>2014-09-19 20:11:34 -0400
commit7ba9257a7ff659417501baf7358216555cebcd86 (patch)
treeffc842cec4165d1069220ae16e08a0b824952f4b /templates/org/team
parent6a7bd097fe2b3e894830fc3fdb60dde5594b61d6 (diff)
downloadgitea-7ba9257a7ff659417501baf7358216555cebcd86.tar.gz
gitea-7ba9257a7ff659417501baf7358216555cebcd86.zip
Add suburl support
Diffstat (limited to 'templates/org/team')
-rw-r--r--templates/org/team/members.tmpl2
-rw-r--r--templates/org/team/repositories.tmpl2
-rw-r--r--templates/org/team/teams.tmpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/org/team/members.tmpl b/templates/org/team/members.tmpl
index ad9b30ed3a..66f496ebdf 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="{{AppRootSubUrl}}/{{.Name}}">
+ <a class="member" href="{{AppSubUrl}}/{{.Name}}">
<img alt="{{.Name}}" class="pull-left avatar" src="{{.AvatarLink}}">
<strong>{{.FullName}}</strong> ({{.Name}})
</a>
diff --git a/templates/org/team/repositories.tmpl b/templates/org/team/repositories.tmpl
index f7ff97d8c6..31b6477ca1 100644
--- a/templates/org/team/repositories.tmpl
+++ b/templates/org/team/repositories.tmpl
@@ -30,7 +30,7 @@
{{if $canAddRemove}}
<a class="btn btn-small btn-red btn-radius right" href="{{$.OrgLink}}/teams/{{$.Team.LowerName}}/action/repo/remove?repoid={{.Id}}">{{$.i18n.Tr "org.teams.remove_repo"}}</a>
{{end}}
- <a class="member" href="{{AppRootSubUrl}}/{{$.Org.Name}}/{{.Name}}">
+ <a class="member" href="{{AppSubUrl}}/{{$.Org.Name}}/{{.Name}}">
<i class="octicon octicon-{{if .IsPrivate}}lock{{else if .IsFork}}repo-forked{{else if .IsMirror}}repo-clone{{else}}repo{{end}}"></i>
<strong>{{$.Org.Name}}/{{.Name}}</strong>
</a>
diff --git a/templates/org/team/teams.tmpl b/templates/org/team/teams.tmpl
index 6440807f43..30df3e4041 100644
--- a/templates/org/team/teams.tmpl
+++ b/templates/org/team/teams.tmpl
@@ -25,7 +25,7 @@
{{if .NumMembers}}
<div class="panel-body member-avatar-group">
{{range .Members}}
- <a href="{{AppRootSubUrl}}/{{.Name}}" title="{{.Name}}">
+ <a href="{{AppSubUrl}}/{{.Name}}" title="{{.Name}}">
<img src="{{.AvatarLink}}">
</a>
{{end}}