aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/settings/options.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl
index 90c03d3e3e..4bc422c340 100644
--- a/templates/repo/settings/options.tmpl
+++ b/templates/repo/settings/options.tmpl
@@ -178,6 +178,7 @@
</div>
</div>
+{{if .Repository.IsMirror}}
<div class="ui small modal" id="convert-repo-modal">
<div class="header">
{{.i18n.Tr "repo.settings.convert"}}
@@ -207,6 +208,7 @@
</form>
</div>
</div>
+{{end}}
<div class="ui small modal" id="transfer-repo-modal">
<div class="header">