From: Andy Allan Date: Fri, 15 Nov 2024 16:14:02 +0000 (+0000) Subject: Merge pull request #5331 from AntonKhorev/trace-badges-text-bg X-Git-Tag: live~6 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/377391e8bb4294a539d5363a20af51243877243c?hp=d185e8326daaa07856f65883ba51290fb09c97a5 Merge pull request #5331 from AntonKhorev/trace-badges-text-bg Set colors for trace visibility badges using .text-bg-* --- diff --git a/app/views/traces/_trace.html.erb b/app/views/traces/_trace.html.erb index f60eea7f1..992f16199 100644 --- a/app/views/traces/_trace.html.erb +++ b/app/views/traces/_trace.html.erb @@ -27,7 +27,7 @@ when "public", "identifiable" then "success" else "danger" end %> - <%= t(".#{trace.visibility}") %> + <%= t(".#{trace.visibility}") %>