Lines 5-15
Link Here
|
5 |
{{ $__("License #%s").format(license.license_id) }} |
5 |
{{ $__("License #%s").format(license.license_id) }} |
6 |
<span class="action_links"> |
6 |
<span class="action_links"> |
7 |
<router-link |
7 |
<router-link |
|
|
8 |
v-if="permissions.licensing.write" |
8 |
:to="`/cgi-bin/koha/erm/licenses/edit/${license.license_id}`" |
9 |
:to="`/cgi-bin/koha/erm/licenses/edit/${license.license_id}`" |
9 |
:title="$__('Edit')" |
10 |
:title="$__('Edit')" |
10 |
><i class="fa fa-pencil"></i |
11 |
><i class="fa fa-pencil"></i |
11 |
></router-link> |
12 |
></router-link> |
12 |
<router-link |
13 |
<router-link |
|
|
14 |
v-if="permissions.licensing.write" |
13 |
:to="`/cgi-bin/koha/erm/licenses/delete/${license.license_id}`" |
15 |
:to="`/cgi-bin/koha/erm/licenses/delete/${license.license_id}`" |
14 |
:title="$__('Delete')" |
16 |
:title="$__('Delete')" |
15 |
><i class="fa fa-trash"></i |
17 |
><i class="fa fa-trash"></i |
Lines 159-164
export default {
Link Here
|
159 |
format_date, |
161 |
format_date, |
160 |
patron_to_html, |
162 |
patron_to_html, |
161 |
get_lib_from_av, |
163 |
get_lib_from_av, |
|
|
164 |
permissions, |
162 |
} |
165 |
} |
163 |
}, |
166 |
}, |
164 |
data() { |
167 |
data() { |