mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 21:45:23 +02:00
15 lines
623 B
Text
15 lines
623 B
Text
|
<%# locals: (issue:) %>
|
||
|
|
||
|
<% priority_class = issue.critical? || issue.error? ? "bg-error/5" : "bg-warning/5" %>
|
||
|
|
||
|
<%= tag.div class: "flex gap-6 items-center rounded-xl px-4 py-3 #{priority_class}" do %>
|
||
|
<div class="flex gap-3 items-center text-red-500 grow overflow-x-scroll">
|
||
|
<%= lucide_icon("alert-octagon", class: "w-5 h-5 shrink-0") %>
|
||
|
<p class="text-sm whitespace-nowrap"><%= issue.title %></p>
|
||
|
</div>
|
||
|
|
||
|
<div class="flex items-center gap-4 ml-auto">
|
||
|
<%= link_to "Troubleshoot", issue_path(issue), class: "text-red-500 font-medium hover:underline", data: { turbo_frame: :drawer } %>
|
||
|
</div>
|
||
|
<% end %>
|