|
340 | 340 | :model-value="state.editorDraft.allowChildOverride" |
341 | 341 | :disabled="saveStatus === 'saving'" |
342 | 342 | @update:modelValue="state.updateDraftAllowOverride"> |
343 | | - <span>{{ t('libresign', 'Allow lower layers to override this rule') }}</span> |
| 343 | + <div class="policy-workbench__switch-copy"> |
| 344 | + <span>{{ t('libresign', 'Require this signing order') }}</span> |
| 345 | + <p> |
| 346 | + {{ state.editorDraft.allowChildOverride ? t('libresign', 'All users must follow this signing order.') : t('libresign', 'Users can choose their preferred signing order.') }} |
| 347 | + </p> |
| 348 | + </div> |
344 | 349 | </NcCheckboxRadioSwitch> |
345 | 350 |
|
346 | 351 | <NcNoteCard v-if="state.duplicateMessage" type="error"> |
|
435 | 440 | :model-value="state.editorDraft.allowChildOverride" |
436 | 441 | :disabled="saveStatus === 'saving'" |
437 | 442 | @update:modelValue="state.updateDraftAllowOverride"> |
438 | | - <span>{{ t('libresign', 'Allow lower layers to override this rule') }}</span> |
| 443 | + <div class="policy-workbench__switch-copy"> |
| 444 | + <span>{{ t('libresign', 'Require this signing order') }}</span> |
| 445 | + <p> |
| 446 | + {{ state.editorDraft.allowChildOverride ? t('libresign', 'All users must follow this signing order.') : t('libresign', 'Users can choose their preferred signing order.') }} |
| 447 | + </p> |
| 448 | + </div> |
439 | 449 | </NcCheckboxRadioSwitch> |
440 | 450 |
|
441 | 451 | <NcNoteCard v-if="state.duplicateMessage" type="error"> |
@@ -1230,6 +1240,18 @@ onBeforeUnmount(() => { |
1230 | 1240 | color: var(--color-text-maxcontrast); |
1231 | 1241 | } |
1232 | 1242 |
|
| 1243 | + &__switch-copy { |
| 1244 | + display: flex; |
| 1245 | + flex-direction: column; |
| 1246 | + gap: 0.25rem; |
| 1247 | +
|
| 1248 | + p { |
| 1249 | + margin: 0; |
| 1250 | + font-size: 0.84rem; |
| 1251 | + color: var(--color-text-maxcontrast); |
| 1252 | + } |
| 1253 | + } |
| 1254 | +
|
1233 | 1255 | &__editor-actions { |
1234 | 1256 | display: flex; |
1235 | 1257 | flex-wrap: wrap; |
|
0 commit comments