mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
migration(bs5): r/sr-only/visually-hidden
This commit is contained in:
parent
357405d2a3
commit
26b691d9d6
8 changed files with 10 additions and 10 deletions
|
@ -19,12 +19,12 @@
|
|||
/>
|
||||
|
||||
<span
|
||||
class="sr-only"
|
||||
class="visually-hidden"
|
||||
:id="id + 'local-part-desc'"
|
||||
v-t="'address.local_part_description.' + type"
|
||||
/>
|
||||
<span
|
||||
class="sr-only"
|
||||
class="visually-hidden"
|
||||
:id="id + 'domain-desc'"
|
||||
v-t="'address.domain_description.' + type"
|
||||
/>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
class="ms-2"
|
||||
@click.stop="node.data.opened = !node.data.opened"
|
||||
>
|
||||
<span class="sr-only">{{ toggleText }}</span>
|
||||
<span class="visually-hidden">{{ toggleText }}</span>
|
||||
<YIcon iname="chevron-right" />
|
||||
</BButton>
|
||||
</BListGroupItem>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
@click="open = !open"
|
||||
>
|
||||
<YIcon iname="question" />
|
||||
<span class="sr-only">
|
||||
<span class="visually-hidden">
|
||||
{{ $t('details_about', { subject: title }) }}
|
||||
</span>
|
||||
</BButton>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<BBreadcrumb v-if="breadcrumb.length">
|
||||
<BBreadcrumbItem to="/">
|
||||
<span class="sr-only">{{ $t('home') }}</span>
|
||||
<span class="visually-hidden">{{ $t('home') }}</span>
|
||||
<YIcon iname="home" />
|
||||
</BBreadcrumbItem>
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
}"
|
||||
>
|
||||
<YIcon iname="chevron-right" />
|
||||
<span class="sr-only">{{ $t('words.collapse') }}</span>
|
||||
<span class="visually-hidden">{{ $t('words.collapse') }}</span>
|
||||
</BButton>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
@click="clearFiles"
|
||||
variant="danger"
|
||||
>
|
||||
<span class="sr-only">{{ $t('delete') }}</span>
|
||||
<span class="visually-hidden">{{ $t('delete') }}</span>
|
||||
<YIcon iname="trash" />
|
||||
</BButton>
|
||||
</template>
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
:href="'https://' + name + app.path"
|
||||
target="_blank"
|
||||
>
|
||||
<span class="sr-only">{{ $t('app.visit_app') }}</span>
|
||||
<span class="visually-hidden">{{ $t('app.visit_app') }}</span>
|
||||
<YIcon iname="external-link" />
|
||||
</BButton>
|
||||
</BButton-group>
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
<BButton variant="danger" @click="removeEmailField('aliases', i)">
|
||||
<YIcon :title="$t('delete')" iname="trash-o" />
|
||||
<span class="sr-only">{{ $t('delete') }}</span>
|
||||
<span class="visually-hidden">{{ $t('delete') }}</span>
|
||||
</BButton>
|
||||
</div>
|
||||
|
||||
|
@ -81,7 +81,7 @@
|
|||
|
||||
<BButton variant="danger" @click="removeEmailField('forward', i)">
|
||||
<YIcon :title="$t('delete')" iname="trash-o" />
|
||||
<span class="sr-only">{{ $t('delete') }}</span>
|
||||
<span class="visually-hidden">{{ $t('delete') }}</span>
|
||||
</BButton>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue