From: Anton Khorev Date: Fri, 15 Nov 2024 15:09:03 +0000 (+0300) Subject: Set colors for trace visibility badges using .text-bg-* X-Git-Tag: live~11^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/cfe08d42d69a7233838cfee7874b1852cb2c3db6?hp=b73f5d940cbb8aa6d345f84831701c41f828741b 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}") %>