diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 5f2e135b98..8a6833f499 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -215,12 +215,18 @@ {{end}} - {{if or (.Permission.CanRead $.UnitTypeWiki) (.Permission.CanRead $.UnitTypeExternalWiki)}} - + {{if .Permission.CanRead $.UnitTypeWiki}} + {{svg "octicon-book"}} {{.locale.Tr "repo.wiki"}} {{end}} + {{if .Permission.CanRead $.UnitTypeExternalWiki}} + + {{svg "octicon-link-external"}} {{.locale.Tr "repo.wiki"}} + + {{end}} + {{if and (.Permission.CanReadAny $.UnitTypePullRequests $.UnitTypeIssues $.UnitTypeReleases) (not .IsEmptyRepo)}} {{svg "octicon-pulse"}} {{.locale.Tr "repo.activity"}}