diff options
author | Unknwon <u@gogs.io> | 2016-08-11 10:53:51 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-11 10:53:51 -0700 |
commit | 5077408d78971463a94f2037d78fa68f201bda48 (patch) | |
tree | 45e01783d324f52a088eab1102ed70353340a54b /templates/repo/wiki/view.tmpl | |
parent | 0885784f136b9b68653ec33fa733e962f3507f7e (diff) | |
download | gitea-5077408d78971463a94f2037d78fa68f201bda48.tar.gz gitea-5077408d78971463a94f2037d78fa68f201bda48.zip |
#3233 code cleanup and minor issue fix
Diffstat (limited to 'templates/repo/wiki/view.tmpl')
-rw-r--r-- | templates/repo/wiki/view.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl index 9bc6ece76c..ff828789c8 100644 --- a/templates/repo/wiki/view.tmpl +++ b/templates/repo/wiki/view.tmpl @@ -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> |