summaryrefslogtreecommitdiffstats
path: root/templates/org/home.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-24 19:14:00 -0500
committerUnknwon <u@gogs.io>2015-11-24 19:14:00 -0500
commit3ca544912fe84f5a3202855037a110af40809d43 (patch)
tree545d50b94b764380919b3408e7acef1b2105039d /templates/org/home.tmpl
parent7f9598141bd7b0200d9342f01243228eab3061ba (diff)
downloadgitea-3ca544912fe84f5a3202855037a110af40809d43.tar.gz
gitea-3ca544912fe84f5a3202855037a110af40809d43.zip
#1944 Drop /org/ URL path prefix in organization home page
Diffstat (limited to 'templates/org/home.tmpl')
-rw-r--r--templates/org/home.tmpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index 9f64f30259..f1e19e30dc 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -40,7 +40,7 @@
<strong>{{.i18n.Tr "org.people"}}</strong>
{{if $isMember}}
<div class="ui right">
- <a class="text grey" href="{{.Org.HomeLink}}/members"><strong>{{.Org.NumMembers}}</strong><span class="octicon octicon-chevron-right"></span></a>
+ <a class="text grey" href="{{.OrgLink}}/members"><strong>{{.Org.NumMembers}}</strong><span class="octicon octicon-chevron-right"></span></a>
</div>
{{end}}
</h4>
@@ -53,7 +53,7 @@
</div>
{{if .IsOrganizationOwner}}
<div class="ui bottom attached segment">
- <a class="ui blue small button" href="{{.Org.HomeLink}}/invitations/new">{{.i18n.Tr "org.invite_someone"}}</a>
+ <a class="ui blue small button" href="{{.OrgLink}}/invitations/new">{{.i18n.Tr "org.invite_someone"}}</a>
</div>
{{end}}
@@ -61,20 +61,20 @@
<div class="ui top attached header">
<strong>{{.i18n.Tr "org.teams"}}</strong>
<div class="ui right">
- <a class="text grey" href="{{.Org.HomeLink}}/teams"><strong>{{.Org.NumTeams}}</strong><span class="octicon octicon-chevron-right"></span></a>
+ <a class="text grey" href="{{.OrgLink}}/teams"><strong>{{.Org.NumTeams}}</strong><span class="octicon octicon-chevron-right"></span></a>
</div>
</div>
<div class="ui attached table segment teams">
{{range .Teams}}
<div class="item">
- <a href="{{$.Org.HomeLink}}/teams/{{.LowerName}}"><strong class="team-name">{{.Name}}</strong></a>
+ <a href="{{$.OrgLink}}/teams/{{.LowerName}}"><strong class="team-name">{{.Name}}</strong></a>
<p class="text grey">{{.NumMembers}} {{$.i18n.Tr "org.lower_members"}} ยท {{.NumRepos}} {{$.i18n.Tr "org.lower_repositories"}}</p>
</div>
{{end}}
</div>
{{if .IsOrganizationOwner}}
<div class="ui bottom attached segment">
- <a class="ui blue small button" href="{{.Org.HomeLink}}/teams/new">{{.i18n.Tr "org.create_new_team"}}</a>
+ <a class="ui blue small button" href="{{.OrgLink}}/teams/new">{{.i18n.Tr "org.create_new_team"}}</a>
</div>
{{end}}
{{end}}