mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 20:55:28 +00:00
Also show regex link when this is CNAME regex blocked.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -250,6 +250,18 @@ $(document).ready(function() {
|
||||
blocked = true;
|
||||
colorClass = "text-red";
|
||||
fieldtext = "Blocked <br class='hidden-lg'>(regex blacklist, CNAME)";
|
||||
|
||||
if (data.length > 9 && data[9] > -1) {
|
||||
fieldtext =
|
||||
"<a href='groups-domains.php?domainid=" +
|
||||
data[9] +
|
||||
"' class=" +
|
||||
colorClass +
|
||||
">" +
|
||||
fieldtext +
|
||||
' <i class="fas fa-link"></i></a>';
|
||||
}
|
||||
|
||||
buttontext =
|
||||
'<button type="button" class="btn btn-default btn-sm text-green"><i class="fas fa-check"></i> Whitelist</button>';
|
||||
isCNAME = true;
|
||||
|
||||
Reference in New Issue
Block a user