mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Merge branch 'stretch-unstable' of github.com:eauchat/yunohost-admin into stretch-unstable
This commit is contained in:
commit
32946dd68a
2 changed files with 3 additions and 3 deletions
|
@ -269,7 +269,7 @@ button {
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
.modal-body;
|
.modal-body;
|
||||||
.warning {
|
.danger {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue