This commit is contained in:
2020-07-07 13:46:13 +00:00
parent 86631f95bb
commit 6aa7ac68af
3 changed files with 12 additions and 15 deletions

View File

@@ -159,6 +159,7 @@ export default {
"RecordHistory", "RecordHistory",
"Search", "Search",
"TypeToSearchOrAdd", "TypeToSearchOrAdd",
"SelectedItems",
"NoData", "NoData",
"ErrorFieldLengthExceeded", "ErrorFieldLengthExceeded",
"ErrorStartDateAfterEndDate", "ErrorStartDateAfterEndDate",

View File

@@ -8,12 +8,11 @@
> >
<v-card> <v-card>
<v-card-title>{{ $ay.t("Extensions") }}</v-card-title> <v-card-title>{{ $ay.t("Extensions") }}</v-card-title>
todo: show number of selected items, maybe id's? todo: find a name instead <v-card-subtitle class="mt-1"
of plugins and maybe alternate icon has to make sense both with accounting >{{ $ay.t("SelectedItems") }}
and mass tagging and any possible grab bag ad-hoc stuff Joyce suggested {{ selectedItems.length }}</v-card-subtitle
utilities, that might work, is accounting a utility? More kind of works >
too as it implies you can do More <!-- <v-divider></v-divider> -->
<v-divider></v-divider>
<v-card-text> <v-card-text>
<v-expansion-panels focusable> <v-expansion-panels focusable>
<v-expansion-panel v-for="(item, i) in 5" :key="i"> <v-expansion-panel v-for="(item, i) in 5" :key="i">
@@ -32,10 +31,11 @@
</v-expansion-panel> </v-expansion-panel>
</v-expansion-panels> </v-expansion-panels>
</v-card-text> </v-card-text>
<v-divider></v-divider> <!-- <v-divider></v-divider> -->
<v-card-actions> <v-card-actions>
<v-btn text @click="cancel()">Cancel</v-btn> <v-btn text @click="close()" color="primary">{{
<v-btn text @click="ok()">Save</v-btn> $ay.t("Close")
}}</v-btn>
</v-card-actions> </v-card-actions>
</v-card> </v-card>
</v-dialog> </v-dialog>
@@ -75,11 +75,7 @@ export default {
this.reject = reject; this.reject = reject;
}); });
}, },
ok() { close() {
this.isVisible = false;
this.resolve(null);
},
cancel() {
this.isVisible = false; this.isVisible = false;
this.resolve(null); this.resolve(null);
} }

View File

@@ -115,7 +115,7 @@ function generateMenu(vm) {
}); });
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: "More", title: "Extensions",
icon: "fa-puzzle-piece", icon: "fa-puzzle-piece",
key: FORM_KEY + ":plugins", key: FORM_KEY + ":plugins",
vm: vm vm: vm