diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index fbb97db4a..a393fb20a 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -67,6 +67,9 @@ {{if .sidebarPresent}}
+ {{if and .CanWriteWiki (not .Repository.IsMirror)}} + {{svg "octicon-pencil"}} + {{end}} {{.sidebarContent | Str2html}}
@@ -74,6 +77,9 @@ {{if .footerPresent}}
+ {{if and .CanWriteWiki (not .Repository.IsMirror)}} + {{svg "octicon-pencil"}} + {{end}} {{.footerContent | Str2html}}
{{end}}