Use subdir for URL (#15446)

Fixes #15444
tokarchuk/v1.17
KN4CK3R 4 years ago committed by GitHub
parent 1426601cf7
commit cf8f66e5dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/repo/create.tmpl
  2. 2
      templates/repo/issue/labels/label_list.tmpl
  3. 2
      templates/user/auth/activate.tmpl

@ -10,7 +10,7 @@
<div class="ui attached segment">
{{template "base/alert" .}}
<p class="ui center">{{.i18n.Tr "repo.new_repo_helper" "/repo/migrate" | Safe}}</p>
<p class="ui center">{{.i18n.Tr "repo.new_repo_helper" (printf "%s%s" AppSubUrl "/repo/migrate") | Safe}}</p>
{{if not .CanCreateRepo}}
<div class="ui negative message">

@ -40,7 +40,7 @@
</div>
<div class="three wide column">
{{if $.PageIsOrgSettingsLabels}}
<a class="ui right open-issues" href="/issues?labels={{.ID}}">{{svg "octicon-issue-opened"}} {{$.i18n.Tr "repo.issues.label_open_issues" .NumOpenIssues}}</a>
<a class="ui right open-issues" href="{{AppSubUrl}}/issues?labels={{.ID}}">{{svg "octicon-issue-opened"}} {{$.i18n.Tr "repo.issues.label_open_issues" .NumOpenIssues}}</a>
{{else}}
<a class="ui right open-issues" href="{{$.RepoLink}}/issues?labels={{.ID}}">{{svg "octicon-issue-opened"}} {{$.i18n.Tr "repo.issues.label_open_issues" .NumOpenIssues}}</a>
{{end}}

@ -19,7 +19,7 @@
{{end}}
{{else}}
{{if .NeedsPassword}}
<form class="ui form" action="/user/activate" method="post">
<form class="ui form" action="{{AppSubUrl}}/user/activate" method="post">
<div class="required inline field">
<label for="password">{{.i18n.Tr "password"}}</label>
<input id="password" name="password" type="password" autocomplete="off" required>

Loading…
Cancel
Save