fixed up unitsetting
This commit is contained in:
parent
76dd3540e4
commit
625954721e
3 changed files with 41 additions and 40 deletions
|
|
@ -7,9 +7,13 @@
|
||||||
:for="path"
|
:for="path"
|
||||||
class="setting-label size-label"
|
class="setting-label size-label"
|
||||||
>
|
>
|
||||||
|
<ModifiedIndicator
|
||||||
|
:changed="isChanged"
|
||||||
|
:onclick="reset"
|
||||||
|
/>
|
||||||
|
{{ ' ' }}
|
||||||
<slot />
|
<slot />
|
||||||
</label>
|
</label>
|
||||||
{{ ' ' }}
|
|
||||||
<span class="no-break setting-control">
|
<span class="no-break setting-control">
|
||||||
<input
|
<input
|
||||||
:id="path"
|
:id="path"
|
||||||
|
|
@ -38,10 +42,6 @@
|
||||||
</Select>
|
</Select>
|
||||||
</span>
|
</span>
|
||||||
{{ ' ' }}
|
{{ ' ' }}
|
||||||
<ModifiedIndicator
|
|
||||||
:changed="isChanged"
|
|
||||||
:onclick="reset"
|
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@
|
||||||
"label control"
|
"label control"
|
||||||
". desc"
|
". desc"
|
||||||
". draft";
|
". draft";
|
||||||
grid-template-columns: 2fr 3fr;
|
grid-template-columns: 4fr 5fr;
|
||||||
column-gap: 0.5em;
|
column-gap: 0.5em;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
padding: 0.5em 0;
|
padding: 0.5em 0;
|
||||||
|
|
|
||||||
|
|
@ -13,22 +13,24 @@
|
||||||
{{ $t('settings.replies_in_timeline') }}
|
{{ $t('settings.replies_in_timeline') }}
|
||||||
</ChoiceSetting>
|
</ChoiceSetting>
|
||||||
</li>
|
</li>
|
||||||
<li class="setting-item">
|
<li>
|
||||||
<span class="setting-label">
|
<span class="setting-item">
|
||||||
{{ $t('user_card.default_mute_expiration') }}
|
<span class="setting-label">
|
||||||
</span>
|
{{ $t('user_card.default_mute_expiration') }}
|
||||||
<Select
|
</span>
|
||||||
id="onMuteDefaultActionLv1"
|
<Select
|
||||||
v-model="onMuteDefaultActionLv1"
|
id="onMuteDefaultActionLv1"
|
||||||
>
|
v-model="onMuteDefaultActionLv1"
|
||||||
<option
|
|
||||||
v-for="option in muteBlockLv1Options"
|
|
||||||
:key="option.key"
|
|
||||||
:value="option.value"
|
|
||||||
>
|
>
|
||||||
{{ option.label }}
|
<option
|
||||||
</option>
|
v-for="option in muteBlockLv1Options"
|
||||||
</Select>
|
:key="option.key"
|
||||||
|
:value="option.value"
|
||||||
|
>
|
||||||
|
{{ option.label }}
|
||||||
|
</option>
|
||||||
|
</Select>
|
||||||
|
</span>
|
||||||
<ul
|
<ul
|
||||||
v-if="onMuteDefaultActionLv1 === 'temporarily'"
|
v-if="onMuteDefaultActionLv1 === 'temporarily'"
|
||||||
class="setting-list suboptions"
|
class="setting-list suboptions"
|
||||||
|
|
@ -45,26 +47,25 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li v-if="blockExpirationSupported">
|
||||||
class="setting-item"
|
<span class="setting-item">
|
||||||
v-if="blockExpirationSupported"
|
<span class="setting-label">
|
||||||
>
|
{{ $t('user_card.default_block_expiration') }}
|
||||||
<span class="setting-label">
|
</span>
|
||||||
{{ $t('user_card.default_block_expiration') }}
|
<Select
|
||||||
</span>
|
id="onBlockDefaultActionLv1"
|
||||||
<Select
|
class="setting-control"
|
||||||
id="onBlockDefaultActionLv1"
|
v-model="onBlockDefaultActionLv1"
|
||||||
class="setting-control"
|
|
||||||
v-model="onBlockDefaultActionLv1"
|
|
||||||
>
|
|
||||||
<option
|
|
||||||
v-for="option in muteBlockLv1Options"
|
|
||||||
:key="option.key"
|
|
||||||
:value="option.value"
|
|
||||||
>
|
>
|
||||||
{{ option.label }}
|
<option
|
||||||
</option>
|
v-for="option in muteBlockLv1Options"
|
||||||
</Select>
|
:key="option.key"
|
||||||
|
:value="option.value"
|
||||||
|
>
|
||||||
|
{{ option.label }}
|
||||||
|
</option>
|
||||||
|
</Select>
|
||||||
|
</span>
|
||||||
<ul
|
<ul
|
||||||
v-if="onBlockDefaultActionLv1 === 'temporarily'"
|
v-if="onBlockDefaultActionLv1 === 'temporarily'"
|
||||||
class="setting-list suboptions"
|
class="setting-list suboptions"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue