mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
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
This commit is contained in:
commit
06b1adf9bb
6 changed files with 16 additions and 12 deletions
|
|
@ -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)">
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
4
dist/settings-apps-view-7418.js
vendored
4
dist/settings-apps-view-7418.js
vendored
File diff suppressed because one or more lines are too long
2
dist/settings-apps-view-7418.js.map
vendored
2
dist/settings-apps-view-7418.js.map
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue