Matt Blenkinsop
62b2609e86
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>
21 lines
456 B
Vue
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>
|