diff options
author | Martin Hartkorn <github@hartkorn.net> | 2016-02-14 22:40:39 +0100 |
---|---|---|
committer | Martin Hartkorn <github@hartkorn.net> | 2016-02-14 22:40:39 +0100 |
commit | 15d37b7a95829e7551d843925fb034bbc613b8f2 (patch) | |
tree | 1eb40439feed2385a90271dca00065fbc73a6787 /templates/repo/settings/options.tmpl | |
parent | 15394f613f7c03d23903d75f12ba018b3b76dffa (diff) | |
download | gitea-15d37b7a95829e7551d843925fb034bbc613b8f2.tar.gz gitea-15d37b7a95829e7551d843925fb034bbc613b8f2.zip |
Refactored according to suggestions
Diffstat (limited to 'templates/repo/settings/options.tmpl')
-rw-r--r-- | templates/repo/settings/options.tmpl | 2 |
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"> |