Use tooltip for app management badges
This commit is contained in:
parent
2b86f1e677
commit
e9eb94e899
|
@ -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'));
|
$('#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 .official').tooltip({
|
||||||
$('.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.')});
|
title: t('settings', 'Official apps are developed by and within the community. They offer central functionality and are ready for production 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.')});
|
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() {
|
complete: function() {
|
||||||
var availableUpdates = 0;
|
var availableUpdates = 0;
|
||||||
|
|
Loading…
Reference in New Issue