diff options
author | Vincent Petry <vincent@nextcloud.com> | 2023-01-11 09:12:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 09:12:21 +0100 |
commit | 06b1adf9bb7121688d575acd9bd8e21e047ad572 (patch) | |
tree | edbac5dcec81c54cae233e970612fdb7dd54a71f /apps/settings | |
parent | 7f1e7815e9a0bc3a6463afc2df2153e059b6ea40 (diff) | |
parent | 36b2f6c12e38bde9fe03aae7a31546f3860a21e2 (diff) | |
download | nextcloud-server-06b1adf9bb7121688d575acd9bd8e21e047ad572.tar.gz nextcloud-server-06b1adf9bb7121688d575acd9bd8e21e047ad572.zip |
Merge pull request #35903 from nextcloud/fix/35887-Replace_custom_tooltips_with_native_one_for_Apps_page
Replace custom tooltips with native ones in apps page
Diffstat (limited to 'apps/settings')
-rw-r--r-- | apps/settings/src/components/AppList/AppItem.vue | 12 | ||||
-rw-r--r-- | apps/settings/src/views/Apps.vue | 4 |
2 files changed, 10 insertions, 6 deletions
diff --git a/apps/settings/src/components/AppList/AppItem.vue b/apps/settings/src/components/AppList/AppItem.vue index 7ff256378c2..cede668d51f 100644 --- a/apps/settings/src/components/AppList/AppItem.vue +++ b/apps/settings/src/components/AppList/AppItem.vue @@ -53,11 +53,13 @@ <div class="app-level"> <span v-if="app.level === 300" - v-tooltip.auto="t('settings', 'This app is supported via your current Nextcloud subscription.')" + :title="t('settings', 'This app is supported via your current Nextcloud subscription.')" + :aria-label="t('settings', 'This app is supported via your current Nextcloud subscription.')" class="supported icon-checkmark-color"> {{ t('settings', 'Supported') }}</span> <span v-if="app.level === 200" - v-tooltip.auto="t('settings', 'Featured apps are developed by and within the community. They offer central functionality and are ready for production use.')" + :title="t('settings', 'Featured apps are developed by and within the community. They offer central functionality and are ready for production use.')" + :aria-label="t('settings', 'Featured apps are developed by and within the community. They offer central functionality and are ready for production use.')" class="official icon-checkmark"> {{ t('settings', 'Featured') }}</span> <AppScore v-if="hasRating && !listView" :score="app.score" /> @@ -87,14 +89,16 @@ {{ t('settings','Disable') }} </NcButton> <NcButton v-if="!app.active && (app.canInstall || app.isCompatible)" - v-tooltip.auto="enableButtonTooltip" + :title="enableButtonTooltip" + :aria-label="enableButtonTooltip" type="primary" :disabled="!app.canInstall || installing || isLoading" @click.stop="enable(app.id)"> {{ enableButtonText }} </NcButton> <NcButton v-else-if="!app.active" - v-tooltip.auto="forceEnableButtonTooltip" + :title="forceEnableButtonTooltip" + :aria-label="forceEnableButtonTooltip" type="secondary" :disabled="installing || isLoading" @click.stop="forceEnable(app.id)"> diff --git a/apps/settings/src/views/Apps.vue b/apps/settings/src/views/Apps.vue index 874724f73a6..1ba74c08ac5 100644 --- a/apps/settings/src/views/Apps.vue +++ b/apps/settings/src/views/Apps.vue @@ -98,11 +98,11 @@ <!-- Featured/Supported badges --> <div v-if="app.level === 300 || app.level === 200 || hasRating" class="app-level"> <span v-if="app.level === 300" - v-tooltip.auto="t('settings', 'This app is supported via your current Nextcloud subscription.')" + :title="t('settings', 'This app is supported via your current Nextcloud subscription.')" class="supported icon-checkmark-color"> {{ t('settings', 'Supported') }}</span> <span v-if="app.level === 200" - v-tooltip.auto="t('settings', 'Featured apps are developed by and within the community. They offer central functionality and are ready for production use.')" + :title="t('settings', 'Featured apps are developed by and within the community. They offer central functionality and are ready for production use.')" class="official icon-checkmark"> {{ t('settings', 'Featured') }}</span> <AppScore v-if="hasRating" :score="app.appstoreData.ratingOverall" /> |