View | Details | Raw Unified | Return to bug 38854
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/AgreementsShow.vue (-6 / +1 lines)
Lines 7-21 Link Here
7
                    name: 'AgreementsFormAddEdit',
7
                    name: 'AgreementsFormAddEdit',
8
                    params: { agreement_id: agreement.agreement_id },
8
                    params: { agreement_id: agreement.agreement_id },
9
                }"
9
                }"
10
                class="btn btn-default"
11
                icon="pencil"
10
                icon="pencil"
12
                :title="$__('Edit')"
11
                :title="$__('Edit')"
13
            />
12
            />
14
            <a
13
            <a @click="delete_agreement(agreement.agreement_id, agreement.name)"
15
                @click="
16
                    delete_agreement(agreement.agreement_id, agreement.name)
17
                "
18
                class="btn btn-default"
19
                ><font-awesome-icon icon="trash" /> {{ $__("Delete") }}</a
14
                ><font-awesome-icon icon="trash" /> {{ $__("Delete") }}</a
20
            >
15
            >
21
        </Toolbar>
16
        </Toolbar>
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalPackagesShow.vue (-1 lines)
Lines 7-13 Link Here
7
                    name: 'EHoldingsLocalPackagesFormAddEdit',
7
                    name: 'EHoldingsLocalPackagesFormAddEdit',
8
                    params: { package_id: erm_package.package_id },
8
                    params: { package_id: erm_package.package_id },
9
                }"
9
                }"
10
                class="btn btn-default"
11
                icon="pencil"
10
                icon="pencil"
12
                :title="$__('Edit')"
11
                :title="$__('Edit')"
13
            />
12
            />
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/EHoldingsLocalTitlesShow.vue (-1 lines)
Lines 7-13 Link Here
7
                    name: 'EHoldingsLocalTitlesFormAddEdit',
7
                    name: 'EHoldingsLocalTitlesFormAddEdit',
8
                    params: { title_id: title.title_id },
8
                    params: { title_id: title.title_id },
9
                }"
9
                }"
10
                class="btn btn-default"
11
                icon="pencil"
10
                icon="pencil"
12
                :title="$__('Edit')"
11
                :title="$__('Edit')"
13
            />
12
            />
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/LicensesShow.vue (-1 lines)
Lines 7-13 Link Here
7
                    name: 'LicensesFormAddEdit',
7
                    name: 'LicensesFormAddEdit',
8
                    params: { license_id: license.license_id },
8
                    params: { license_id: license.license_id },
9
                }"
9
                }"
10
                class="btn btn-default"
11
                icon="pencil"
10
                icon="pencil"
12
                :title="$__('Edit')"
11
                :title="$__('Edit')"
13
            />
12
            />
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersShow.vue (-1 lines)
Lines 10-16 Link Here
10
                            usage_data_provider.erm_usage_data_provider_id,
10
                            usage_data_provider.erm_usage_data_provider_id,
11
                    },
11
                    },
12
                }"
12
                }"
13
                class="btn btn-default"
14
                icon="pencil"
13
                icon="pencil"
15
                :title="$__('Edit')"
14
                :title="$__('Edit')"
16
            />
15
            />
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/SettingsProcessingsShow.vue (-1 lines)
Lines 7-13 Link Here
7
                    name: 'SettingsProcessingsFormEdit',
7
                    name: 'SettingsProcessingsFormEdit',
8
                    params: { processing_id: processing.processing_id },
8
                    params: { processing_id: processing.processing_id },
9
                }"
9
                }"
10
                class="btn btn-default"
11
                icon="pencil"
10
                icon="pencil"
12
                :title="$__('Edit')"
11
                :title="$__('Edit')"
13
            />
12
            />
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsShow.vue (-2 / +1 lines)
Lines 79-85 Link Here
79
                    name: 'TrainsFormAddItem',
79
                    name: 'TrainsFormAddItem',
80
                    params: { train_id: train.train_id },
80
                    params: { train_id: train.train_id },
81
                }"
81
                }"
82
                class="btn btn-default"
83
                icon="plus"
82
                icon="plus"
84
                :title="$__('Add items')"
83
                :title="$__('Add items')"
85
            />
84
            />
Lines 96-102 Link Here
96
                    name: 'TrainsFormEdit',
95
                    name: 'TrainsFormEdit',
97
                    params: { train_id: train.train_id },
96
                    params: { train_id: train.train_id },
98
                }"
97
                }"
99
                class="btn btn-default"
98
                _class="btn btn-default"
100
                icon="pencil"
99
                icon="pencil"
101
                :title="$__('Edit')"
100
                :title="$__('Edit')"
102
            />
101
            />
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ToolbarButton.vue (-6 / +1 lines)
Lines 1-5 Link Here
1
<template>
1
<template>
2
    <router-link :to="to" :class="class"
2
    <router-link :to="to" class="btn btn-default"
3
        ><font-awesome-icon v-if="icon" :icon="icon" /> {{ title }}</router-link
3
        ><font-awesome-icon v-if="icon" :icon="icon" /> {{ title }}</router-link
4
    >
4
    >
5
</template>
5
</template>
Lines 10-19 export default { Link Here
10
        to: {
10
        to: {
11
            type: [String, Object],
11
            type: [String, Object],
12
        },
12
        },
13
        class: {
14
            type: String,
15
            default: "btn btn-default",
16
        },
17
        icon: {
13
        icon: {
18
            type: String,
14
            type: String,
19
            required: false,
15
            required: false,
20
- 

Return to bug 38854