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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ButtonSubmit.vue (-1 / +8 lines)
Lines 1-5 Link Here
1
<template>
1
<template>
2
    <input type="submit" class="btn btn-primary" :value="text" />
2
    <button type="submit" class="btn btn-primary">
3
        <font-awesome-icon v-if="icon" :icon="icon" />
4
        {{ text }}
5
    </button>
3
</template>
6
</template>
4
7
5
<script>
8
<script>
Lines 11-16 export default { Link Here
11
            default: __("Submit"),
14
            default: __("Submit"),
12
            required: false,
15
            required: false,
13
        },
16
        },
17
        icon: {
18
            type: String,
19
            required: false,
20
        },
14
    },
21
    },
15
};
22
};
16
</script>
23
</script>
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Vendors/VendorFormAdd.vue (-1 / +2 lines)
Lines 7-17 Link Here
7
        <h1 v-else>{{ $__("Add vendor") }}</h1>
7
        <h1 v-else>{{ $__("Add vendor") }}</h1>
8
        <form @submit="onSubmit($event)" id="add_vendor">
8
        <form @submit="onSubmit($event)" id="add_vendor">
9
            <Toolbar :sticky="true">
9
            <Toolbar :sticky="true">
10
                <ButtonSubmit :text="$__('Save')" />
10
                <ButtonSubmit :text="$__('Save')" icon="save" />
11
                <ToolbarButton
11
                <ToolbarButton
12
                    :to="{ name: 'VendorList' }"
12
                    :to="{ name: 'VendorList' }"
13
                    :title="$__('Cancel')"
13
                    :title="$__('Cancel')"
14
                    icon="times"
14
                    icon="times"
15
                    cssClass="btn btn-link"
15
                >
16
                >
16
                </ToolbarButton>
17
                </ToolbarButton>
17
            </Toolbar>
18
            </Toolbar>
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/modules/acquisitions.ts (-2 / +3 lines)
Lines 13-18 import { Link Here
13
    faSpinner,
13
    faSpinner,
14
    faTrash,
14
    faTrash,
15
    faTimes,
15
    faTimes,
16
    faSave,
16
} from "@fortawesome/free-solid-svg-icons";
17
} from "@fortawesome/free-solid-svg-icons";
17
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
18
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
18
import vSelect from "vue-select";
19
import vSelect from "vue-select";
Lines 26-32 library.add( Link Here
26
    faPlus,
27
    faPlus,
27
    faSpinner,
28
    faSpinner,
28
    faTrash,
29
    faTrash,
29
    faTimes
30
    faTimes,
31
    faSave
30
);
32
);
31
33
32
import App from "../components/Vendors/Main.vue";
34
import App from "../components/Vendors/Main.vue";
33
- 

Return to bug 38899