diff options
author | Peter Smit <peter@smitmail.eu> | 2015-02-17 10:36:17 +0200 |
---|---|---|
committer | Peter Smit <peter@smitmail.eu> | 2015-02-17 10:36:17 +0200 |
commit | e6fc58a74461bd67efb06fc2e5658265ede2edb5 (patch) | |
tree | 95c72c548ad48163c72534a05853eb0faadf007d /templates/repo/settings/options.tmpl | |
parent | d85366930c94145c8f1119ff0b6bb95d77c5200e (diff) | |
download | gitea-e6fc58a74461bd67efb06fc2e5658265ede2edb5.tar.gz gitea-e6fc58a74461bd67efb06fc2e5658265ede2edb5.zip |
Remove GoGet option from repository and handle it with ?go-get=1 instead
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
Diffstat (limited to 'templates/repo/settings/options.tmpl')
-rw-r--r-- | templates/repo/settings/options.tmpl | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 093e937553..41683f8450 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -59,11 +59,6 @@ <input class="ipt-chk" id="visibility" name="private" type="checkbox" {{if .Repository.IsPrivate}}checked{{end}} /> <span>{{.i18n.Tr "repo.visiblity_helper" | Str2html}}</span> </div> - <div class="field"> - <label for="goget">{{.i18n.Tr "repo.goget_meta"}}</label> - <input class="ipt-chk" id="goget" name="goget" type="checkbox" {{if .Repository.IsGoget}}checked{{end}} /> - <span>{{.i18n.Tr "repo.goget_meta_helper" | Str2html}}</span> - </div> <div class="field"> <span class="form-label"></span> <button class="btn btn-green btn-large btn-radius" id="change-reponame-btn" href="#change-reponame-modal">{{.i18n.Tr "repo.settings.update_settings"}}</button> |