summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/repo/settings/options.tmpl2
-rw-r--r--templates/user/settings/repos.tmpl2
2 files changed, 2 insertions, 2 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}}
diff --git a/templates/user/settings/repos.tmpl b/templates/user/settings/repos.tmpl
index a9d029a2b8..68ed8392fd 100644
--- a/templates/user/settings/repos.tmpl
+++ b/templates/user/settings/repos.tmpl
@@ -119,7 +119,7 @@
{{else}}
<span class="iconFloat">{{svg "octicon-repo"}}</span>
{{end}}
- <a class="name" href="{{AppSubUrl}}/{{$.OwnerName}}/{{.Name}}">{{$.OwnerName}}/{{.Name}}</a>
+ <a class="name" href="{{AppSubUrl}}/{{.OwnerName}}/{{.Name}}">{{.OwnerName}}/{{.Name}}</a>
<span>{{SizeFmt .Size}}</span>
{{if .IsFork}}
{{$.i18n.Tr "repo.forked_from"}}