Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion client-app/pages/company/members.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
@click="openInviteModal"
>
<span class="md:hidden">{{ $t("pages.company.members.buttons.invite") }}</span>

<span class="hidden md:inline">{{ $t("pages.company.members.buttons.invite_members") }}</span>
</VcButton>
</div>
Expand Down Expand Up @@ -210,7 +211,7 @@
:variant="!!keyword || !!filter ? 'search' : 'empty'"
>
<template #button>
<VcButton v-if="keyword || filter" prepent-icon="reset" @click="resetFiltersWithKeyword">
<VcButton v-if="keyword || filter" prepend-icon="reset" @click="resetFiltersWithKeyword">
{{ $t("pages.company.members.buttons.reset_search") }}
</VcButton>

Expand Down Expand Up @@ -334,6 +335,7 @@
</div>
</div>
</template>

<template #page-limit-message>
{{ $t("ui_kit.reach_limit.page_limit_filters") }}
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,13 @@

<VcEmptyView
v-else
:text="$t('shared.catalog.branches_modal.no_results')"
:text="
searchInput.length
? $t('shared.catalog.branches_modal.no_results')
: $t('shared.catalog.branches_modal.no_branches')
"
icon="outline-stock"
:variant="searchInput.length ? 'search' : 'empty'"
class="h-[23.8rem] max-h-screen-60"
>
<template v-if="searchInput.length" #button>
Expand Down Expand Up @@ -134,7 +139,16 @@
</template>
</div>

<VcEmptyView v-else :text="$t('shared.catalog.branches_modal.no_results')" icon="outline-stock">
<VcEmptyView
v-else
:text="
searchInput.length
? $t('shared.catalog.branches_modal.no_results')
: $t('shared.catalog.branches_modal.no_branches')
"
icon="outline-stock"
:variant="searchInput.length ? 'search' : 'empty'"
>
<template v-if="searchInput.length" #button>
<VcButton prepend-icon="reset" @click="searchInput = ''">
{{ $t("shared.catalog.branches_modal.reset_search_button") }}
Expand Down
1 change: 1 addition & 0 deletions locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
"cancel_button": "Abbrechen",
"ok_button": "Ok",
"no_results": "Keine Ergebnisse gefunden",
"no_branches": "Keine Filialen gefunden",
"reset_search_button": "Suche zurücksetzen"
},
"shipment_options": {
Expand Down
3 changes: 2 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,8 @@
"clear_selection": "Clear selection",
"cancel_button": "Cancel",
"ok_button": "Ok",
"no_results": "No results found",
"no_results": "There are no results found",
"no_branches": "There are no branches found",
"reset_search_button": "Reset search"
},
"shipment_options": {
Expand Down
1 change: 1 addition & 0 deletions locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
"cancel_button": "Cancelar",
"ok_button": "Aceptar",
"no_results": "No se encontraron resultados",
"no_branches": "No se encontraron sucursales",
"reset_search_button": "Restablecer búsqueda"
},
"shipment_options": {
Expand Down
1 change: 1 addition & 0 deletions locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
"cancel_button": "Peruuta",
"ok_button": "OK",
"no_results": "Tuloksia ei löytynyt",
"no_branches": "Toimipisteitä ei löytynyt",
"reset_search_button": "Nollaa haku"
},
"shipment_options": {
Expand Down
1 change: 1 addition & 0 deletions locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
"cancel_button": "Annuler",
"ok_button": "Ok",
"no_results": "Aucun résultat trouvé",
"no_branches": "Aucune branche trouvée",
"reset_search_button": "Réinitialiser la recherche"
},
"shipment_options": {
Expand Down
1 change: 1 addition & 0 deletions locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
"cancel_button": "Annulla",
"ok_button": "Ok",
"no_results": "Nessun risultato trovato",
"no_branches": "Nessuna filiale trovata",
"reset_search_button": "Reimposta ricerca"
},
"shipment_options": {
Expand Down
1 change: 1 addition & 0 deletions locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
"cancel_button": "キャンセル",
"ok_button": "OK",
"no_results": "該当する店舗がありません",
"no_branches": "該当する店舗が見つかりませんでした",
"reset_search_button": "検索をリセット"
},
"shipment_options": {
Expand Down
1 change: 1 addition & 0 deletions locales/no.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
"cancel_button": "Avbryt",
"ok_button": "OK",
"no_results": "Ingen resultater funnet",
"no_branches": "Ingen filialer funnet",
"reset_search_button": "Tilbakestill søk"
},
"shipment_options": {
Expand Down
1 change: 1 addition & 0 deletions locales/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
"cancel_button": "Anuluj",
"ok_button": "OK",
"no_results": "Nie znaleziono wyników",
"no_branches": "Nie znaleziono oddziałów",
"reset_search_button": "Resetuj wyszukiwanie"
},
"shipment_options": {
Expand Down
1 change: 1 addition & 0 deletions locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
"cancel_button": "Cancelar",
"ok_button": "OK",
"no_results": "Nenhum resultado encontrado",
"no_branches": "Nenhuma filial encontrada",
"reset_search_button": "Resetar pesquisa"
},
"shipment_options": {
Expand Down
1 change: 1 addition & 0 deletions locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
"cancel_button": "Отмена",
"ok_button": "ОК",
"no_results": "Результатов не найдено",
"no_branches": "Филиалы не найдены",
"reset_search_button": "Очистить поиск"
},
"shipment_options": {
Expand Down
1 change: 1 addition & 0 deletions locales/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
"cancel_button": "Avbryt",
"ok_button": "OK",
"no_results": "Inga resultat hittades",
"no_branches": "Inga filialer hittades",
"reset_search_button": "Återställ sökning"
},
"shipment_options": {
Expand Down
1 change: 1 addition & 0 deletions locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@
"cancel_button": "取消",
"ok_button": "确定",
"no_results": "未找到结果",
"no_branches": "未找到分支",
"reset_search_button": "重置搜索"
},
"shipment_options": {
Expand Down