Remove repetitive labels of setting groups
This commit is contained in:
parent
c3960c472a
commit
752e8847eb
5 changed files with 2 additions and 21 deletions
|
@ -387,10 +387,6 @@ export default {
|
||||||
files: 'files',
|
files: 'files',
|
||||||
successfullyRemoved: 'Setting removed successfully!',
|
successfullyRemoved: 'Setting removed successfully!',
|
||||||
seeDocs: 'See Documentation',
|
seeDocs: 'See Documentation',
|
||||||
assets: 'Assets',
|
|
||||||
emoji: 'Emoji',
|
|
||||||
markup: 'Markup settings',
|
|
||||||
corsPlug: 'CORS plug config',
|
|
||||||
instanceReboot: 'Reboot Instance',
|
instanceReboot: 'Reboot Instance',
|
||||||
restartApp: 'You must restart the instance to apply settings',
|
restartApp: 'You must restart the instance to apply settings',
|
||||||
restartSuccess: 'Instance rebooted successfully!',
|
restartSuccess: 'Instance rebooted successfully!',
|
||||||
|
|
|
@ -8,16 +8,10 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-divider v-if="staticFe" class="divider thick-line"/>
|
<el-divider v-if="staticFe" class="divider thick-line"/>
|
||||||
<el-form ref="assetsData" :model="assetsData" :label-position="labelPosition" :label-width="labelWidth">
|
<el-form ref="assetsData" :model="assetsData" :label-position="labelPosition" :label-width="labelWidth">
|
||||||
<el-form-item v-if="assets" class="grouped-settings-header">
|
|
||||||
<span class="label-font label-with-margin">{{ $t('settings.assets') }}</span>
|
|
||||||
</el-form-item>
|
|
||||||
<setting :setting-group="assets" :data="assetsData"/>
|
<setting :setting-group="assets" :data="assetsData"/>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-divider v-if="assets" class="divider thick-line"/>
|
<el-divider v-if="assets" class="divider thick-line"/>
|
||||||
<el-form ref="emojiData" :model="emojiData" :label-position="labelPosition" :label-width="labelWidth">
|
<el-form ref="emojiData" :model="emojiData" :label-position="labelPosition" :label-width="labelWidth">
|
||||||
<el-form-item v-if="emoji" data-search=":emoji" class="grouped-settings-header">
|
|
||||||
<span class="label-font label-with-margin">{{ $t('settings.emoji') }}</span>
|
|
||||||
</el-form-item>
|
|
||||||
<setting :setting-group="emoji" :data="emojiData"/>
|
<setting :setting-group="emoji" :data="emojiData"/>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-divider v-if="emoji" class="divider thick-line"/>
|
<el-divider v-if="emoji" class="divider thick-line"/>
|
||||||
|
@ -26,9 +20,6 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-divider v-if="chat" class="divider thick-line"/>
|
<el-divider v-if="chat" class="divider thick-line"/>
|
||||||
<el-form ref="markupData" :model="markupData" :label-position="labelPosition" :label-width="labelWidth">
|
<el-form ref="markupData" :model="markupData" :label-position="labelPosition" :label-width="labelWidth">
|
||||||
<el-form-item v-if="markup" data-search=":markup" class="grouped-settings-header">
|
|
||||||
<span class="label-font label-with-margin">{{ $t('settings.markup') }}</span>
|
|
||||||
</el-form-item>
|
|
||||||
<setting :setting-group="markup" :data="markupData"/>
|
<setting :setting-group="markup" :data="markupData"/>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div class="submit-button-container">
|
<div class="submit-button-container">
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
<setting :setting-group="http" :data="httpData"/>
|
<setting :setting-group="http" :data="httpData"/>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-form ref="corsPlugData" :model="corsPlugData" :label-position="labelPosition" :label-width="labelWidth">
|
<el-form ref="corsPlugData" :model="corsPlugData" :label-position="labelPosition" :label-width="labelWidth">
|
||||||
<el-form-item v-if="corsPlug" data-search=":cors_plug" class="grouped-settings-header">
|
|
||||||
<span class="label-font label-with-margin">{{ $t('settings.corsPlug') }}</span>
|
|
||||||
</el-form-item>
|
|
||||||
<setting :setting-group="corsPlug" :data="corsPlugData"/>
|
<setting :setting-group="corsPlug" :data="corsPlugData"/>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-divider v-if="corsPlug" class="divider thick-line"/>
|
<el-divider v-if="corsPlug" class="divider thick-line"/>
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
<setting :setting-group="upload" :data="uploadData"/>
|
<setting :setting-group="upload" :data="uploadData"/>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-form v-if="showUploadersLocal" ref="uploadersLocal" :model="uploadersLocalData" :label-position="labelPosition" :label-width="labelWidth">
|
<el-form v-if="showUploadersLocal" ref="uploadersLocal" :model="uploadersLocalData" :label-position="labelPosition" :label-width="labelWidth">
|
||||||
<el-form-item v-if="uploadersLocal" class="grouped-settings-header">
|
|
||||||
<span class="label-font label-with-margin">Pleroma.Uploaders.Local</span>
|
|
||||||
</el-form-item>
|
|
||||||
<setting :setting-group="uploadersLocal" :data="uploadersLocalData"/>
|
<setting :setting-group="uploadersLocal" :data="uploadersLocalData"/>
|
||||||
<el-divider v-if="uploadersLocal" class="divider thick-line"/>
|
<el-divider v-if="uploadersLocal" class="divider thick-line"/>
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<el-radio label=":maxlen">Limit-based</el-radio>
|
<el-radio label=":maxlen">Limit-based</el-radio>
|
||||||
<el-radio label=":maxage">Time-based</el-radio>
|
<el-radio label=":maxage">Time-based</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
<el-form-item v-if="prune === ':maxlen'" label="max length" label-width="100" label-position="left">
|
<el-form-item v-if="prune === ':maxlen'" label="Max length" label-width="100" label-position="left">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
:value="data[1]"
|
:value="data[1]"
|
||||||
:min="0"
|
:min="0"
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
class="top-margin"
|
class="top-margin"
|
||||||
@change="updateIntInput($event, ':maxlen')"/>
|
@change="updateIntInput($event, ':maxlen')"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-if="prune === ':maxage'" label="max age" label-width="100" label-position="left">
|
<el-form-item v-if="prune === ':maxage'" label="Max age" label-width="100" label-position="left">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
:value="data[1]"
|
:value="data[1]"
|
||||||
:min="0"
|
:min="0"
|
||||||
|
|
Loading…
Reference in a new issue