diff --git a/templates/repo/header_fork.tmpl b/templates/repo/header_fork.tmpl index 5bce9e0f14..e248a77850 100644 --- a/templates/repo/header_fork.tmpl +++ b/templates/repo/header_fork.tmpl @@ -1,3 +1,4 @@ +{{with .Repository}} {{if and (not .IsEmpty) ($.Permission.CanRead $.UnitTypeCode)}}