File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 6767 {{if .sidebarPresent}}
6868 <div class="column" style="padding-top: 0;">
6969 <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}}
7073 {{.sidebarContent | Str2html}}
7174 </div>
7275 </div>
7376 {{end}}
7477 </div>
7578 {{if .footerPresent}}
7679 <div class="ui segment">
80+ {{if and .CanWriteWiki (not .Repository.IsMirror)}}
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+ {{end}}
7783 {{.footerContent | Str2html}}
7884 </div>
7985 {{end}}
You can’t perform that action at this time.
0 commit comments