Lines 3-19
Link Here
|
3 |
<div v-if="!initialized">{{ $__("Loading") }}</div> |
3 |
<div v-if="!initialized">{{ $__("Loading") }}</div> |
4 |
<div v-else id="titles_list"> |
4 |
<div v-else id="titles_list"> |
5 |
<Toolbar> |
5 |
<Toolbar> |
6 |
<ToolbarButton |
6 |
<ButtonLink |
7 |
:to="{ name: 'EHoldingsLocalTitlesFormAdd' }" |
7 |
:to="{ name: 'EHoldingsLocalTitlesFormAdd' }" |
8 |
icon="plus" |
8 |
icon="plus" |
9 |
:title="$__('New title')" |
9 |
:title="$__('New title')" |
10 |
/> |
10 |
/> |
11 |
<ToolbarButton |
11 |
<ButtonLink |
12 |
:to="{ name: 'EHoldingsLocalTitlesFormImport' }" |
12 |
:to="{ name: 'EHoldingsLocalTitlesFormImport' }" |
13 |
icon="plus" |
13 |
icon="plus" |
14 |
:title="$__('Import from list')" |
14 |
:title="$__('Import from list')" |
15 |
/> |
15 |
/> |
16 |
<ToolbarButton |
16 |
<ButtonLink |
17 |
:to="{ name: 'EHoldingsLocalTitlesKBARTImport' }" |
17 |
:to="{ name: 'EHoldingsLocalTitlesKBARTImport' }" |
18 |
icon="plus" |
18 |
icon="plus" |
19 |
:title="$__('Import from KBART file')" |
19 |
:title="$__('Import from KBART file')" |
Lines 41-47
Link Here
|
41 |
|
41 |
|
42 |
<script> |
42 |
<script> |
43 |
import Toolbar from "../Toolbar.vue" |
43 |
import Toolbar from "../Toolbar.vue" |
44 |
import ToolbarButton from "../ToolbarButton.vue" |
44 |
import ButtonLink from "../ButtonLink.vue" |
45 |
import { inject, ref, reactive } from "vue" |
45 |
import { inject, ref, reactive } from "vue" |
46 |
import { storeToRefs } from "pinia" |
46 |
import { storeToRefs } from "pinia" |
47 |
import { APIClient } from "../../fetch/api-client.js" |
47 |
import { APIClient } from "../../fetch/api-client.js" |
Lines 244-250
export default {
Link Here
|
244 |
] |
244 |
] |
245 |
}, |
245 |
}, |
246 |
}, |
246 |
}, |
247 |
components: { Toolbar, ToolbarButton, KohaTable }, |
247 |
components: { Toolbar, ButtonLink, KohaTable }, |
248 |
name: "EHoldingsLocalTitlesList", |
248 |
name: "EHoldingsLocalTitlesList", |
249 |
} |
249 |
} |
250 |
</script> |
250 |
</script> |