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 67
67
{{if .sidebarPresent}}
68
68
<div class="column" style="padding-top: 0;">
69
69
<div class="ui segment">
70
+ {{if and .CanWriteUncyclo (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}}
70
73
{{.sidebarContent | Str2html}}
71
74
</div>
72
75
</div>
73
76
{{end}}
74
77
</div>
75
78
{{if .footerPresent}}
76
79
<div class="ui segment">
80
+ {{if and .CanWriteUncyclo (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}}
77
83
{{.footerContent | Str2html}}
78
84
</div>
79
85
{{end}}
You can’t perform that action at this time.
0 commit comments