|
@@ -5,7 +5,7 @@
|
|
|
{% block content_header %}
|
|
{% block content_header %}
|
|
|
<div class="header-wrap">
|
|
<div class="header-wrap">
|
|
|
<header id="page-header">
|
|
<header id="page-header">
|
|
|
- <h1 id="admin-title" class="title">{{ t('Security settings') }}</h1>
|
|
|
|
|
|
|
+ <h1 id="admin-title" class="title">{{ t('security_settings') }}</h1>
|
|
|
</header>
|
|
</header>
|
|
|
</div>
|
|
</div>
|
|
|
{% endblock %}
|
|
{% endblock %}
|
|
@@ -38,7 +38,7 @@
|
|
|
|
|
|
|
|
<form action="/_api/admin/security/general" method="post" class="form-horizontal" id="generalSetting" role="form">
|
|
<form action="/_api/admin/security/general" method="post" class="form-horizontal" id="generalSetting" role="form">
|
|
|
<fieldset>
|
|
<fieldset>
|
|
|
- <legend class="alert-anchor">{{ t('security_setting.Security settings') }}</legend>
|
|
|
|
|
|
|
+ <legend class="alert-anchor">{{ t('security_settings') }}</legend>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
<label for="settingForm[security:registrationMode]" class="col-xs-3 control-label">{{ t('Basic authentication') }}</label>
|
|
<label for="settingForm[security:registrationMode]" class="col-xs-3 control-label">{{ t('Basic authentication') }}</label>
|
|
@@ -136,20 +136,19 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <!-- GC-1755 Change Sentence -->
|
|
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
{% set configName = 'settingForm[security:pageCompleteDeletionAuthority]' %}
|
|
{% set configName = 'settingForm[security:pageCompleteDeletionAuthority]' %}
|
|
|
{% set configValue = getConfig('crowi','security:pageCompleteDeletionAuthority') %}
|
|
{% set configValue = getConfig('crowi','security:pageCompleteDeletionAuthority') %}
|
|
|
- <label for="{{configName}}" class="col-xs-3 control-label">Restrict Complete Deletion of Pages</label>
|
|
|
|
|
|
|
+ <label for="{{configName}}" class="col-xs-3 control-label">{{ t('security_setting.complete_deletion') }}</label>
|
|
|
<div class="col-xs-6">
|
|
<div class="col-xs-6">
|
|
|
<select class="form-control selectpicker" name="settingForm[security:pageCompleteDeletionAuthority]" value="{{ configValue }}">
|
|
<select class="form-control selectpicker" name="settingForm[security:pageCompleteDeletionAuthority]" value="{{ configValue }}">
|
|
|
- <option value="adminOnly" {% if configValue =="adiminOnly" %}selected{% endif %}>AdminOnly</option>
|
|
|
|
|
- <option value="adminAndAuthor" {% if configValue == "adminAndAuthor" %}selected{% endif %}>AdminAndAuthor</option>
|
|
|
|
|
- <option value=null {% if configValue == null %}selected{% endif %}>Anyone</option>
|
|
|
|
|
|
|
+ <option value="adminOnly" {% if configValue =="adiminOnly" %}selected{% endif %}>{{ t('security_setting.admin_only') }}</option>
|
|
|
|
|
+ <option value="adminAndAuthor" {% if configValue == "adminAndAuthor" %}selected{% endif %}>{{ t('security_setting.admin_and_author') }}</option>
|
|
|
|
|
+ <option value=null {% if configValue == null %}selected{% endif %}>{{ t('security_setting.anyone') }}</option>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<p class="help-block small">
|
|
<p class="help-block small">
|
|
|
- Restricts users who can completely delete pages to only administrators.
|
|
|
|
|
|
|
+ {{ t('security_setting.complete_deletion_explain') }}
|
|
|
</p>
|
|
</p>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|