diff --git a/public/css/panel.css b/public/css/panel.css
index 8ee99fc..3d9e488 100644
--- a/public/css/panel.css
+++ b/public/css/panel.css
@@ -342,6 +342,7 @@
.badge-invitation-only { background: #b87800; }
.badge-deprecated { background: #8b3030; }
.badge-nsfw { background: #9b2b9b; }
+.badge-region { background: #2e7d32; }
/* OPSEC row layout */
.opsec-row {
diff --git a/public/js/arf.js b/public/js/arf.js
index e6fd43b..e7cd87b 100644
--- a/public/js/arf.js
+++ b/public/js/arf.js
@@ -464,6 +464,17 @@ function openPanel(d) {
badgeHtml += ' NSFW';
}
+ var region = d.data.region;
+ var regionLabel;
+ if (!region || region === "global") {
+ regionLabel = "Global";
+ } else if (Array.isArray(region)) {
+ regionLabel = region.map(function(r) { return r.toUpperCase(); }).join(", ");
+ } else {
+ regionLabel = String(region).toUpperCase();
+ }
+ badgeHtml += ' ' + escapeHtml(regionLabel) + '';
+
badgesEl.innerHTML = badgeHtml;
badgesEl.classList.remove("empty");
}