mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 20:41:57 +00:00
[ServerPro] Removed SaaS views in admin panel and user settings (#4263)
* Removed SaaS views from SP admin panel and user settings * Hiding must reconfirm for server pro and restored site admin * Removed empty 'security' section GitOrigin-RevId: 9ad8e2b7510cf957ccf3f968a53fa88d3174a64b
This commit is contained in:
parent
59be5e4ce8
commit
37a50e295a
2 changed files with 23 additions and 24 deletions
|
@ -56,26 +56,27 @@ block content
|
|||
button.btn.btn-danger(type="submit") Reopen Editor
|
||||
p.small Will reopen the editor after closing.
|
||||
|
||||
tab(heading="TPDS/Dropbox Management" bookmarkable-tab="tpds")
|
||||
h3 Flush project to TPDS
|
||||
.row
|
||||
form.col-xs-6(method='post',action='/admin/flushProjectToTpds')
|
||||
input(name="_csrf", type="hidden", value=csrfToken)
|
||||
.form-group
|
||||
label(for='project_id') project_id
|
||||
input.form-control(type='text', name='project_id', placeholder='project_id', required)
|
||||
.form-group
|
||||
button.btn-primary.btn(type='submit') Flush
|
||||
hr
|
||||
h3 Poll Dropbox for user
|
||||
.row
|
||||
form.col-xs-6(method='post',action='/admin/pollDropboxForUser')
|
||||
input(name="_csrf", type="hidden", value=csrfToken)
|
||||
.form-group
|
||||
label(for='user_id') user_id
|
||||
input.form-control(type='text', name='user_id', placeholder='user_id', required)
|
||||
.form-group
|
||||
button.btn-primary.btn(type='submit') Poll
|
||||
if hasFeature('saas')
|
||||
tab(heading="TPDS/Dropbox Management" bookmarkable-tab="tpds")
|
||||
h3 Flush project to TPDS
|
||||
.row
|
||||
form.col-xs-6(method='post',action='/admin/flushProjectToTpds')
|
||||
input(name="_csrf", type="hidden", value=csrfToken)
|
||||
.form-group
|
||||
label(for='project_id') project_id
|
||||
input.form-control(type='text', name='project_id', placeholder='project_id', required)
|
||||
.form-group
|
||||
button.btn-primary.btn(type='submit') Flush
|
||||
hr
|
||||
h3 Poll Dropbox for user
|
||||
.row
|
||||
form.col-xs-6(method='post',action='/admin/pollDropboxForUser')
|
||||
input(name="_csrf", type="hidden", value=csrfToken)
|
||||
.form-group
|
||||
label(for='user_id') user_id
|
||||
input.form-control(type='text', name='user_id', placeholder='user_id', required)
|
||||
.form-group
|
||||
button.btn-primary.btn(type='submit') Poll
|
||||
|
||||
tab(heading="Advanced" bookmarkable-tab="advanced")
|
||||
.row-spaced
|
||||
|
|
|
@ -184,10 +184,8 @@ block content
|
|||
hr
|
||||
include settings/user-oauth
|
||||
|
||||
hr
|
||||
|
||||
if !externalAuthenticationSystemUsed() || (settings.createV1AccountOnLogin && settings.overleaf)
|
||||
|
||||
if hasFeature('saas') && (!externalAuthenticationSystemUsed() || (settings.createV1AccountOnLogin && settings.overleaf))
|
||||
hr
|
||||
p.small
|
||||
| #{translate("newsletter_info_and_unsubscribe")}
|
||||
a(
|
||||
|
|
Loading…
Reference in a new issue