diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index fbb97db4ad..a393fb20a1 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}}