|
@@ -138,21 +138,18 @@
|
|
|
|
|
|
|
|
<!-- GC-1755 Change Sentence -->
|
|
<!-- GC-1755 Change Sentence -->
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
- {% set configName = 'settingForm[security:isEnabledDeleteCompletely]' %}
|
|
|
|
|
- {% set configValue = getConfig('crowi','security:isEnabledDeleteCompletely') %}
|
|
|
|
|
- <label for="{{configName}}" class="col-xs-3 control-label">ページを完全削除できるユーザーを制限する</label>
|
|
|
|
|
- <div class="col-xs-9">
|
|
|
|
|
- <div class="btn-group btn-toggle" data-toggle="buttons">
|
|
|
|
|
- <label class="btn btn-default btn-rounded btn-outline {% if configValue %}active{% endif %}" data-active-class="primary">
|
|
|
|
|
- <input name="{{configName}}" value="true" type="radio" {% if configValue %}checked{% endif %}> ON
|
|
|
|
|
- </label>
|
|
|
|
|
- <label class="btn btn-default btn-rounded btn-outline {% if !configValue %}active{% endif %}" data-active-class="default">
|
|
|
|
|
- <input name="{{configName}}" value="false" type="radio" {% if !configValue %}checked{% endif %}> OFF
|
|
|
|
|
- </label>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ {% set configName = 'settingForm[security:pageCompleteDeletionAuthority]' %}
|
|
|
|
|
+ {% set configValue = getConfig('crowi','security:pageCompleteDeletionAuthority') %}
|
|
|
|
|
+ <label for="{{configName}}" class="col-xs-3 control-label">Restrict Complete Deletion of Pages</label>
|
|
|
|
|
+ <div class="col-xs-6">
|
|
|
|
|
+ <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>
|
|
|
|
|
+ </select>
|
|
|
|
|
|
|
|
<p class="help-block small">
|
|
<p class="help-block small">
|
|
|
- ページを完全削除できるユーザーを管理者のみに制限します。
|
|
|
|
|
|
|
+ Restricts users who can completely delete pages to only administrators.
|
|
|
</p>
|
|
</p>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|