Koha/koha-tmpl/intranet-tmpl/prog/js/vue/components/Toolbar.vue
Matt Blenkinsop 1ba4c8b129
Bug 33417: Fix translation in toolbar
This commit allows the string to be translated - tested using fr-FR and a dummy string in the .po file

Test plan as above

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 62b2609e86)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2023-07-17 12:20:49 +01:00

21 lines
456 B
Vue

<template>
<div id="toolbar" class="btn-toolbar">
<router-link
v-for="(option, index) in options"
:key="index"
:to="{ name: option.to }"
class="btn btn-default"
><font-awesome-icon icon="plus" />
{{ option.button_title }}</router-link
>
</div>
</template>
<script>
export default {
props: {
options: Array,
},
name: "Toolbar",
}
</script>