mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-15 09:46:06 +01:00
Merge branch 'develop' into feature/mobile
Conflicts: themes/grav/css-compiled/template.css.map
This commit is contained in:
@@ -78,6 +78,13 @@ $(function () {
|
||||
UpdatesChart.on('draw', function(data){
|
||||
if (data.index) { return; }
|
||||
chart.find('.numeric span').text(Math.round(data.value) + '%');
|
||||
|
||||
var text = translations.PLUGIN_ADMIN.UPDATES_AVAILABLE;
|
||||
if (data.value == 100) {
|
||||
text = translations.PLUGIN_ADMIN.FULLY_UPDATED;
|
||||
}
|
||||
$('.js__updates-available-description').html(text)
|
||||
$('.updates-chart .hidden').removeClass('hidden');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user