Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camp create: choose prototype UX improvement #4162

Merged
merged 10 commits into from
Dec 19, 2023
11 changes: 11 additions & 0 deletions frontend/src/components/buttons/ButtonContinue.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<template>
<v-btn color="primary" v-bind="$attrs" v-on="$listeners">
{{ $tc('global.button.continue') }}
</v-btn>
</template>

<script>
export default {
name: 'ButtonContinue',
}
</script>
2 changes: 2 additions & 0 deletions frontend/src/components/form/base/ESelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
:name="name"
:vid="veeId"
:rules="veeRules"
:skip-if-empty="skipIfEmpty"
:required="required"
:immediate="immediateValidation"
class="e-form-container"
Expand Down Expand Up @@ -38,6 +39,7 @@ export default {
mixins: [formComponentPropsMixin, formComponentMixin],
props: {
immediateValidation: { type: Boolean, default: false },
skipIfEmpty: { type: Boolean, default: true },
},
}
</script>
Expand Down
13 changes: 13 additions & 0 deletions frontend/src/components/layout/ContentActions.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<template>
<v-card-actions>
<div class="d-flex gap-2 flex-wrap flex-grow-1">
<slot />
</div>
</v-card-actions>
</template>

<script>
export default {
name: 'ContentActions',
}
</script>
6 changes: 6 additions & 0 deletions frontend/src/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@
"cancel": "Abbrechen",
"close": "Schliessen",
"content": "Inhalt",
"continue": "Weiter",
"create": "Erstellen",
"delete": "Löschen",
"discard": "Verwerfen",
Expand Down Expand Up @@ -591,10 +592,15 @@
},
"campCreate": {
"create": "Lager erstellen",
"noContent": "Keine Inhalte",
"noPrototype": "Keine Vorlage",
"period": {
"add": "Weiteren Lagerabschnitt hinzufügen",
"remove": "Diesen Lagerabschnitt entfernen"
},
"prototypeHint": "Kopiere Kategorien, Blockvorlagen und Blockstatus von einer Lagervorlage",
"prototypeHintSelected": "Kopiere Kategorien, Blockvorlagen und Blockstatus von dieser Lagervorlage",
"prototypeHintEmpty": "Keine Kategorien, Blockvorlagen und Blockstatus aus einer Lagervorlage kopieren",
"title": "Lager erstellen"
},
"camps": {
Expand Down
1 change: 1 addition & 0 deletions frontend/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@
"cancel": "Cancel",
"close": "Close",
"content": "Content",
"continue": "Continue",
"create": "Create",
"delete": "Delete",
"discard": "Discard",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@
"cancel": "Annuler",
"close": "Fermer",
"content": "Contenu",
"continue": "Continuer",
"create": "Créer",
"delete": "Effacer",
"discard": "Rejeter",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@
"cancel": "Annullare",
"close": "Chiudi",
"content": "Contenuto",
"continue": "Continuare",
"create": "Creare",
"delete": "Cancellare",
"discard": "Scartare",
Expand Down
Loading
Loading