mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Fix notification icon and add details for Local DNS/CNAME records
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -88,6 +88,7 @@ function showAlert(type, icon, title, message) {
|
||||
const options = {
|
||||
title: " <strong>" + title + "</strong><br>",
|
||||
message: message,
|
||||
icon: icon,
|
||||
},
|
||||
settings = {
|
||||
type: type,
|
||||
@@ -100,7 +101,7 @@ function showAlert(type, icon, title, message) {
|
||||
};
|
||||
switch (type) {
|
||||
case "info":
|
||||
options.icon = icon !== null && icon.len > 0 ? icon : "far fa-clock";
|
||||
options.icon = icon !== null && icon.len > 0 ? icon : "fas fa-clock";
|
||||
|
||||
break;
|
||||
case "success":
|
||||
|
||||
Reference in New Issue
Block a user