forked from forgejo/forgejo
#3233 code cleanup and minor issue fix
This commit is contained in:
parent
0885784f13
commit
5077408d78
11 changed files with 55 additions and 81 deletions
|
@ -46,7 +46,7 @@
|
|||
</div>
|
||||
<div class="ui dividing header">
|
||||
{{.title}}
|
||||
{{if and .IsRepositoryWriter (not .IsRepositoryMirror)}}
|
||||
{{if and .IsRepositoryWriter (not .Repository.IsMirror)}}
|
||||
<div class="ui right">
|
||||
<a class="ui small button" href="{{.RepoLink}}/wiki/{{.PageURL}}/_edit">{{.i18n.Tr "repo.wiki.edit_page_button"}}</a>
|
||||
<a class="ui green small button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.new_page_button"}}</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue