diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/settings/options.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/wiki/pages.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 688d00bd72..cd2854c062 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -153,7 +153,7 @@ </div> {{end}} <div class="field"> - <button class="ui green button">{{$.locale.Tr "repo.settings.update_settings"}}</button> + <button class="ui green button">{{$.locale.Tr "repo.settings.update_mirror_settings"}}</button> </div> </form> </td> diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl index 97abf9b543..6169109ce9 100644 --- a/templates/repo/wiki/pages.tmpl +++ b/templates/repo/wiki/pages.tmpl @@ -5,7 +5,7 @@ <h2 class="ui header gt-df gt-ac gt-sb"> <span>{{.locale.Tr "repo.wiki.pages"}}</span> <span> - {{if and .CanWriteWiki (not .IsRepositoryMirror)}} + {{if and .CanWriteWiki (not .Repository.IsMirror)}} <a class="ui green small button" href="{{.RepoLink}}/wiki?action=_new">{{.locale.Tr "repo.wiki.new_page_button"}}</a> {{end}} </span> |