diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-07-13 09:59:08 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-07-13 09:59:08 +0200 |
commit | e9eb94e8995f5c845868bd4e099f8eb591204943 (patch) | |
tree | d181a27fa144f29a47ac2b8b804b8a8aa5d5f45a /settings/js | |
parent | 2b86f1e677ff9630159f264d4d89ca73b9fbfd9f (diff) | |
download | nextcloud-server-e9eb94e8995f5c845868bd4e099f8eb591204943.tar.gz nextcloud-server-e9eb94e8995f5c845868bd4e099f8eb591204943.zip |
Use tooltip for app management badges
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/apps.js | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index 525a34d9067..55847162350 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -119,11 +119,27 @@ OC.Settings.Apps = OC.Settings.Apps || { $('#apps-list-empty').removeClass('hidden').find('h2').text(t('settings', 'No apps found for your version')); } - $('.enable.needs-download').tipsy({fallback: t('settings', 'The app will be downloaded from the app store')}); + $('.enable.needs-download').tooltip({ + title: t('settings', 'The app will be downloaded from the app store'), + placement: 'bottom', + container: 'body' + }); - $('.app-level .official').tipsy({fallback: t('settings', 'Official apps are developed by and within the community. They offer central functionality and are ready for production use.')}); - $('.app-level .approved').tipsy({fallback: t('settings', 'Approved apps are developed by trusted developers and have passed a cursory security check. They are actively maintained in an open code repository and their maintainers deem them to be stable for casual to normal use.')}); - $('.app-level .experimental').tipsy({fallback: t('settings', 'This app is not checked for security issues and is new or known to be unstable. Install at your own risk.')}); + $('.app-level .official').tooltip({ + title: t('settings', 'Official apps are developed by and within the community. They offer central functionality and are ready for production use.'), + placement: 'bottom', + container: 'body' + }); + $('.app-level .approved').tooltip({ + title: t('settings', 'Approved apps are developed by trusted developers and have passed a cursory security check. They are actively maintained in an open code repository and their maintainers deem them to be stable for casual to normal use.'), + placement: 'bottom', + container: 'body' + }); + $('.app-level .experimental').tooltip({ + title: t('settings', 'This app is not checked for security issues and is new or known to be unstable. Install at your own risk.'), + placement: 'bottom', + container: 'body' + }); }, complete: function() { var availableUpdates = 0; |