Merge branch 'stretch-unstable' of github.com:eauchat/yunohost-admin into stretch-unstable

This commit is contained in:
chateau 2019-01-12 17:08:59 +01:00
commit 32946dd68a
2 changed files with 3 additions and 3 deletions

View file

@ -269,7 +269,7 @@ button {
.content { .content {
.modal-body; .modal-body;
.warning { .danger {
color: red; color: red;
} }
} }

View file

@ -200,8 +200,8 @@
var params = {}; var params = {};
// make confirm content // make confirm content
var purgeCheckbox = '<input type="checkbox">'+ y18n.t('purge_user_data_checkbox', [c.params['user']]) +'</input>'; var purgeCheckbox = '<div><input type="checkbox" id="purge-user-data" name="purge-user-data"> <label for="purge-user-data">'+ y18n.t('purge_user_data_checkbox', [c.params['user']]) +'</label></div>';
var purgeAlertMessage = '<div class="warning" style="display: none">⚠ '+ y18n.t('purge_user_data_warning') +'</div>'; var purgeAlertMessage = '<div class="danger" style="display: none">⚠ '+ y18n.t('purge_user_data_warning') +'</div>';
var confirmModalContent = $('<div>'+ y18n.t('confirm_delete', [c.params['user']]) +'<br><br>'+ purgeCheckbox +'<br>'+ purgeAlertMessage +'</div>'); var confirmModalContent = $('<div>'+ y18n.t('confirm_delete', [c.params['user']]) +'<br><br>'+ purgeCheckbox +'<br>'+ purgeAlertMessage +'</div>');
// display confirm modal // display confirm modal