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 @@ - {{if and (not .IsMirror) (.Repository.UnitEnabled $.UnitTypePullRequests)}} + {{if not .IsMirror}}
{{$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}} {{svg "octicon-repo"}} {{end}} - {{$.OwnerName}}/{{.Name}} + {{.OwnerName}}/{{.Name}} {{SizeFmt .Size}} {{if .IsFork}} {{$.i18n.Tr "repo.forked_from"}}