diff options
Diffstat (limited to 'templates/repo/header_old.tmpl')
-rw-r--r-- | templates/repo/header_old.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/header_old.tmpl b/templates/repo/header_old.tmpl index ecf9ed3a7f..0537cc0244 100644 --- a/templates/repo/header_old.tmpl +++ b/templates/repo/header_old.tmpl @@ -48,6 +48,7 @@ </button> </a> </li> + {{if not .IsBare}} <li id="repo-header-fork"> <a id="repo-header-fork-btn" {{if or (not $.IsRepositoryAdmin) $.Owner.IsOrganization}}href="{{AppSubUrl}}/repo/fork/{{.ID}}"{{end}}> <button class="btn btn-gray text-bold btn-radius"> @@ -57,6 +58,7 @@ </a> </li> + {{end}} </ul> </div> </div> |