diff options
author | Unknwon <u@gogs.io> | 2017-04-06 17:27:57 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-04-06 17:27:57 -0400 |
commit | 90b9f7e08ca2e027cc587199537aa653ddd94d91 (patch) | |
tree | 0dbd625cd1eb929250befa07f18a0517ae23a5d1 /templates/org | |
parent | 2c404daca612b43bd6b0b720d3e732d9550c0eab (diff) |
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
Diffstat (limited to 'templates/org')
-rw-r--r-- | templates/org/create.tmpl | 2 | ||||
-rw-r--r-- | templates/org/home.tmpl | 2 | ||||
-rw-r--r-- | templates/org/settings/webhook_new.tmpl | 4 | ||||
-rw-r--r-- | templates/org/team/repositories.tmpl | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/templates/org/create.tmpl b/templates/org/create.tmpl index 6746adc9..af70e441 100644 --- a/templates/org/create.tmpl +++ b/templates/org/create.tmpl @@ -20,7 +20,7 @@ <button class="ui green button"> {{.i18n.Tr "org.create_org"}} </button> - <a class="ui button" href="{{AppSubUrl}}/">{{.i18n.Tr "cancel"}}</a> + <a class="ui button" href="{{AppSubURL}}/">{{.i18n.Tr "cancel"}}</a> </div> </div> </form> diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index 9ac0eae9..dcd844a5 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -27,7 +27,7 @@ <div class="ui eleven wide column"> {{if .IsOrganizationOwner}} <div class="text right"> - <a class="ui green button" href="{{AppSubUrl}}/repo/create?org={{.Org.ID}}"><i class="octicon octicon-repo-create"></i> {{.i18n.Tr "new_repo"}}</a> + <a class="ui green button" href="{{AppSubURL}}/repo/create?org={{.Org.ID}}"><i class="octicon octicon-repo-create"></i> {{.i18n.Tr "new_repo"}}</a> </div> <div class="ui divider"></div> {{end}} diff --git a/templates/org/settings/webhook_new.tmpl b/templates/org/settings/webhook_new.tmpl index 7f09fc94..a5688a05 100644 --- a/templates/org/settings/webhook_new.tmpl +++ b/templates/org/settings/webhook_new.tmpl @@ -10,9 +10,9 @@ {{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}} <div class="ui right"> {{if eq .HookType "gogs"}} - <img class="img-13" src="{{AppSubUrl}}/img/favicon.png"> + <img class="img-13" src="{{AppSubURL}}/img/favicon.png"> {{else}} - <img class="img-13" src="{{AppSubUrl}}/img/{{.HookType}}.png"> + <img class="img-13" src="{{AppSubURL}}/img/{{.HookType}}.png"> {{end}} </div> </h4> diff --git a/templates/org/team/repositories.tmpl b/templates/org/team/repositories.tmpl index 480e86c4..4f1ad313 100644 --- a/templates/org/team/repositories.tmpl +++ b/templates/org/team/repositories.tmpl @@ -16,7 +16,7 @@ {{if $canAddRemove}} <a class="ui red small button right" href="{{$.OrgLink}}/teams/{{$.Team.LowerName}}/action/repo/remove?repoid={{.ID}}">{{$.i18n.Tr "org.teams.remove_repo"}}</a> {{end}} - <a class="member" href="{{AppSubUrl}}/{{$.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> |