Skip to content

Commit

Permalink
Modify status text if a reply was received for clarify (#3203)
Browse files Browse the repository at this point in the history
  • Loading branch information
DL6ER authored Jan 30, 2025
2 parents 8f730a4 + 64c191f commit 8e239ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/js/queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ function parseQueryStatus(data) {
case "FORWARDED":
colorClass = "text-green";
icon = "fa-solid fa-cloud-download-alt";
fieldtext = "Forwarded to " + data.upstream;
fieldtext =
(data.reply.type !== "UNKNOWN" ? "Forwarded, reply from " : "Forwarded to ") +
data.upstream;
buttontext =
'<button type="button" class="btn btn-default btn-sm text-red btn-blacklist"><i class="fa fa-ban"></i> Deny</button>';
break;
Expand Down

0 comments on commit 8e239ec

Please sign in to comment.