Bug 32030: Remove 'this' from template

For consistency, it's not needed.

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2022-08-11 09:35:59 +02:00 committed by Tomas Cohen Arazi
parent 877b46ead6
commit b1a3f666f2
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
13 changed files with 26 additions and 26 deletions

View File

@ -1,5 +1,5 @@
<template>
<div v-if="!this.initialized">{{ $t("Loading") }}</div>
<div v-if="!initialized">{{ $t("Loading") }}</div>
<div v-else id="agreements_add">
<h2 v-if="agreement.agreement_id">
{{ $t("Edit agreement .id", { id: agreement.agreement_id }) }}

View File

@ -1,5 +1,5 @@
<template>
<div v-if="!this.initialized">{{ $t("Loading") }}</div>
<div v-if="!initialized">{{ $t("Loading") }}</div>
<div v-else id="agreements_confirm_delete">
<h2>{{ $t("Delete agreement") }}</h2>
<div>

View File

@ -1,8 +1,8 @@
<template>
<div v-if="!this.initialized">{{ $t("Loading") }}</div>
<div v-else-if="this.agreements" id="agreements_list">
<div v-if="!initialized">{{ $t("Loading") }}</div>
<div v-else-if="agreements" id="agreements_list">
<Toolbar v-if="before_route_entered" />
<fieldset v-if="this.agreements.length">
<fieldset v-if="agreements.length">
<label for="expired_filter">{{ $t("Filter by expired") }}:</label>
<input
type="checkbox"
@ -24,8 +24,8 @@
:value="$t('Filter')"
/>
</fieldset>
<table v-if="this.agreements.length" :id="table_id"></table>
<div v-else-if="this.initialized" class="dialog message">
<table v-if="agreements.length" :id="table_id"></table>
<div v-else-if="initialized" class="dialog message">
{{ $t("There are no agreements defined") }}
</div>
</div>

View File

@ -1,5 +1,5 @@
<template>
<div v-if="!this.initialized">{{ $t("Loading") }}</div>
<div v-if="!initialized">{{ $t("Loading") }}</div>
<div v-else id="agreements_show">
<h2>
{{ $t("Agreement .id", { id: agreement.agreement_id }) }}

View File

@ -12,7 +12,7 @@
<input
type="text"
id="package_name_filter"
v-model="this.filters.package_name"
v-model="filters.package_name"
@keyup.enter="filter_table"
/>
</li>
@ -20,7 +20,7 @@
<label>{{ $t("Selection status") }}:</label>
<select
id="selection_type_filter"
v-model="this.filters.selection_type"
v-model="filters.selection_type"
>
<option value="0">{{ $t("All") }}</option>
<option value="1">{{ $t("Selected") }}</option>

View File

@ -1,5 +1,5 @@
<template>
<div v-if="!this.initialized">{{ $t("Loading") }}</div>
<div v-if="!initialized">{{ $t("Loading") }}</div>
<div v-else id="packages_add">
<h2 v-if="erm_package.package_id">
{{ $t("Edit package .id", { id: erm_package.package_id }) }}

View File

@ -1,5 +1,5 @@
<template>
<div v-if="!this.initialized">{{ $t("Loading") }}</div>
<div v-if="!initialized">{{ $t("Loading") }}</div>
<div v-else id="packages_confirm_delete">
<h2>{{ $t("Delete package") }}</h2>
<div>

View File

@ -1,12 +1,12 @@
<template>
<div>
<div v-if="!this.initialized">{{ $t("Loading") }}</div>
<div v-else-if="this.packages" id="packages_list">
<div v-if="!initialized">{{ $t("Loading") }}</div>
<div v-else-if="packages" id="packages_list">
<Toolbar />
<div v-if="packages.length" id="package_list_result">
<table :id="table_id"></table>
</div>
<div v-else-if="this.initialized" class="dialog message">
<div v-else-if="initialized" class="dialog message">
{{ $t("There are no packages defined") }}
</div>
</div>

View File

@ -1,12 +1,12 @@
<template>
<div>
<div v-if="!this.initialized">{{ $t("Loading") }}</div>
<div v-else-if="this.titles" id="titles_list">
<div v-if="!initialized">{{ $t("Loading") }}</div>
<div v-else-if="titles" id="titles_list">
<Toolbar />
<div v-if="this.titles.length" id="title_list_result">
<table v-if="this.titles.length" :id="table_id"></table>
<div v-if="titles.length" id="title_list_result">
<table v-if="titles.length" :id="table_id"></table>
</div>
<div v-else-if="this.initialized" class="dialog message">
<div v-else-if="initialized" class="dialog message">
{{ $t("There are no titles defined") }}
</div>
</div>

View File

@ -1,5 +1,5 @@
<template>
<div v-if="!this.initialized">{{ $t("Loading") }}</div>
<div v-if="!initialized">{{ $t("Loading") }}</div>
<div v-else id="licenses_add">
<h2 v-if="license.license_id">
{{ $t("Edit license .id", { id: license.license_id }) }}

View File

@ -1,5 +1,5 @@
<template>
<div v-if="!this.initialized">{{ $t("Loading") }}</div>
<div v-if="!initialized">{{ $t("Loading") }}</div>
<div v-else id="licenses_confirm_delete">
<h2>{{ $t("Delete license") }}</h2>
<div>

View File

@ -1,9 +1,9 @@
<template>
<div v-if="!this.initialized">{{ $t("Loading") }}</div>
<div v-else-if="this.licenses" id="licenses_list">
<div v-if="!initialized">{{ $t("Loading") }}</div>
<div v-else-if="licenses" id="licenses_list">
<Toolbar />
<table v-if="licenses.length" :id="table_id"></table>
<div v-else-if="this.initialized" class="dialog message">
<div v-else-if="initialized" class="dialog message">
{{ $t("There are no licenses defined") }}
</div>
</div>

View File

@ -1,5 +1,5 @@
<template>
<div v-if="!this.initialized">{{ $t("Loading") }}</div>
<div v-if="!initialized">{{ $t("Loading") }}</div>
<div v-else id="licenses_show">
<h2>
{{ $t("License .id", { id: license.license_id }) }}