Skip to content

Commit

Permalink
Add hint when no ui element is available
Browse files Browse the repository at this point in the history
  • Loading branch information
sholtkamp committed Dec 4, 2023
1 parent e55d92e commit 0476eef
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions src/main/js/bundles/dn_printingenhanced/LayoutWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@
v-if="visibleUiElements.scaleEnabled"
md12
>
<div
v-if="!scaleEnabled && !visibleUiElements.printPreviewCheckbox"
aria-live="polite"
class="ct-message ct-message--info mt-2"
>
{{ i18n.helperTextScaleEnabled }}
</div>
<v-checkbox
v-model="scaleEnabledValue"
:label="i18n.scaleEnabled"
Expand Down
14 changes: 7 additions & 7 deletions src/main/js/bundles/dn_printingenhanced/MapOnlyWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,13 @@
v-if="visibleUiElements.scaleEnabled"
md12
>
<div
v-if="!scaleEnabled && !visibleUiElements.printPreviewCheckbox"
aria-live="polite"
class="ct-message ct-message--info mt-2"
>
{{ i18n.helperTextScaleEnabled }}
</div>
<v-checkbox
v-model="scaleEnabledValue"
:label="i18n.scaleEnabled"
Expand Down Expand Up @@ -194,13 +201,6 @@
class="pa-0 ma-0"
/>
</v-flex>
<div
v-if="!scaleEnabled"
aria-live="polite"
class="ct-message ct-message--info mt-2"
>
{{ i18n.helperTextScaleEnabled }}
</div>
</v-layout>
</v-container>
</template>
Expand Down

0 comments on commit 0476eef

Please sign in to comment.