diff options
author | Unknwon <u@gogs.io> | 2015-09-17 16:11:44 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-17 16:11:44 -0400 |
commit | 3fb1b6a608625067a76ba90f9855d48c4d6555bd (patch) | |
tree | 5cb663bd07a58bf830b01483465edebf938000ff /templates/admin/config.tmpl | |
parent | 562e47f31ced80adc6ffa629e2d8459465c369e9 (diff) | |
download | gitea-3fb1b6a608625067a76ba90f9855d48c4d6555bd.tar.gz gitea-3fb1b6a608625067a76ba90f9855d48c4d6555bd.zip |
drop oauth2 feature support
Diffstat (limited to 'templates/admin/config.tmpl')
-rw-r--r-- | templates/admin/config.tmpl | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index 899c264d92..e302efd043 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -137,27 +137,6 @@ <br> <div class="panel panel-radius"> <div class="panel-header"> - <strong>{{.i18n.Tr "admin.config.oauth_config"}}</strong> - </div> - <div class="panel-body"> - <dl class="dl-horizontal admin-dl-horizontal"> - <dt>{{.i18n.Tr "admin.config.oauth_enabled"}}</dt> - <dd><i class="fa fa{{if .OauthEnabled}}-check{{end}}-square-o"></i></dd> - {{if .OauthEnabled}}<dt>GitHub</dt> - <dd><i class="fa fa{{if .Oauther.GitHub}}-check{{end}}-square-o"></i></dd> - <dt>Google</dt> - <dd><i class="fa fa{{if .Oauther.Google}}-check{{end}}-square-o"></i></dd> - <dt>腾讯 QQ</dt> - <dd><i class="fa fa{{if .Oauther.Tencent}}-check{{end}}-square-o"></i></dd> - <dt>新浪微博</dt> - <dd><i class="fa fa{{if .Oauther.Weibo}}-check{{end}}-square-o"></i></dd> - {{end}} - </dl> - </div> - </div> - <br> - <div class="panel panel-radius"> - <div class="panel-header"> <strong>{{.i18n.Tr "admin.config.cache_config"}}</strong> </div> <div class="panel-body"> |