mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Also show database ID in tooltip.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -74,17 +74,17 @@ $(document).ready(function() {
|
||||
$("#desc", row).val(desc);
|
||||
|
||||
let button =
|
||||
'<button class="btn btn-success btn-xs editGroup" type="button" data-id=\'' +
|
||||
'<button class="btn btn-success btn-xs editGroup" type="button" data-id="' +
|
||||
data.id +
|
||||
"'>" +
|
||||
'">' +
|
||||
'<span class="glyphicon glyphicon-pencil"></span>' +
|
||||
"</button>";
|
||||
if (data.id !== 0) {
|
||||
button +=
|
||||
" " +
|
||||
'<button class="btn btn-danger btn-xs deleteGroup" type="button" data-id=\'' +
|
||||
'<button class="btn btn-danger btn-xs deleteGroup" type="button" data-id="' +
|
||||
data.id +
|
||||
"'>" +
|
||||
'">' +
|
||||
'<span class="glyphicon glyphicon-trash"></span>' +
|
||||
"</button>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user