show tints in offering detail page.

7f19d6d · gmorell · 2024-02-12 00:42

7 files +4 -1

Files changed

modified apps/room_sanctum/lib/room_sanctum_web/live/cfg_source_live/show.html.heex
+4 −1
@@ -42,7 +42,10 @@ current_user={@current_user}
42 42 <% end %>
43 43 <div class="card card-compact w-3/4 bg-base-100 shadow-xl m-2">
44 44 <div class="card-body">
45 − <h3 class="card-title">Config</h3>
45 + <h3 class="card-title">Config
46 + <%= if @source.meta.tint do %>
47 + <i class={"fa fa-circle text-#{@source.meta.tint}-500"}></i>
48 + <% end %></h3>
46 49 <pre><%= @source.config |> Poison.encode!( pretty: true) %></pre>
47 50 </div>
48 51 </div>

Parents: 25b9ed1