We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f0c8f9 commit 4aa3cacCopy full SHA for 4aa3cac
templates/repo/wiki/view.tmpl
@@ -67,13 +67,19 @@
67
{{if .sidebarPresent}}
68
<div class="column" style="padding-top: 0;">
69
<div class="ui segment">
70
+ {{if and .CanWriteWiki (not .Repository.IsMirror)}}
71
+ <a class="ui right floated muted" href="{{.RepoLink}}/wiki/_Sidebar/_edit" aria-label="{{.i18n.Tr "repo.wiki.edit_page_button"}}">{{svg "octicon-pencil"}}</a>
72
+ {{end}}
73
{{.sidebarContent | Str2html}}
74
</div>
75
76
{{end}}
77
78
{{if .footerPresent}}
79
80
81
+ <a class="ui right floated muted" href="{{.RepoLink}}/wiki/_Footer/_edit" aria-label="{{.i18n.Tr "repo.wiki.edit_page_button"}}">{{svg "octicon-pencil"}}</a>
82
83
{{.footerContent | Str2html}}
84
85
0 commit comments