diff options
author | zeripath <art27@cantab.net> | 2020-10-30 16:27:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 16:27:01 +0000 |
commit | 68bdb9fd4bf4e8bd358d4b1c6d9e0c4f70307415 (patch) | |
tree | ed09a917905df0375c8327cdfb75fdb2f66bb80f /templates/repo/settings | |
parent | 643a0a691a53a1c13a52edf0a09e8013394b07fe (diff) | |
download | gitea-68bdb9fd4bf4e8bd358d4b1c6d9e0c4f70307415.tar.gz gitea-68bdb9fd4bf4e8bd358d4b1c6d9e0c4f70307415.zip |
Fix links to repositories in /user/setting/repos (#13360)
* Fix links to repositories in /user/setting/repos
somehow the links gained a spurious $ in the links.
Signed-off-by: Andrew Thornton <art27@cantab.net>
* And fix #13359
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'templates/repo/settings')
-rw-r--r-- | templates/repo/settings/options.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index ce76a6fefa..96414731bc 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -284,7 +284,7 @@ </div> </div> - {{if and (not .IsMirror) (.Repository.UnitEnabled $.UnitTypePullRequests)}} + {{if not .IsMirror}} <div class="ui divider"></div> {{$pullRequestEnabled := .Repository.UnitEnabled $.UnitTypePullRequests}} {{$prUnit := .Repository.MustGetUnit $.UnitTypePullRequests}} |