Compare commits

...

2 Commits

Author SHA1 Message Date
David Böhm
583b513510 Fixed links if partial rendered from model broadcast 2024-08-04 15:58:58 +02:00
David Böhm
2df2ced8b9 Small notice css change 2024-08-04 15:57:24 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -16,9 +16,9 @@
<span class="p-1.5 text-xs font-medium uppercase tracking-wider bg-opacity-50 text-status-<%= job.status.to_sym %> bg-status-<%= job.status %>-light rounded-lg"><%= job.status %></span>
</td>
<td class="p-3 text-sm text-left text-hsrm-gray whitespace-nowrap">
<%= link_to "edit", edit_job_url(job), class: "p-1.5 ml-2 rounded-lg bg-gray-100 font-medium" %>
<%= link_to "edit", edit_job_path(job), class: "p-1.5 ml-2 rounded-lg bg-gray-100 font-medium" %>
<% if job.able_to_cancel? %>
<%= button_to "cancel", cancel_job_url(job), method: :patch, class: "p-1.5 ml-2 rounded-lg bg-gray-100 font-medium" %>
<%= button_to "cancel", cancel_job_path(job), method: :patch, class: "p-1.5 ml-2 rounded-lg bg-gray-100 font-medium" %>
<% end %>
</td>
</tr>

View File

@@ -2,7 +2,7 @@
<div class="w-full">
<div id="notice">
<% if notice.present? %>
<p class="p-4 bg-green-100 text-green-700 font-medium rounded-lg border-l-4"><%= notice %></p>
<p class="p-4 bg-green-100 text-green-700 font-medium rounded-lg border-l-4 border-green-700"><%= notice %></p>
<% end %>
</div>
<% content_for :title, "Current Print Jobs" %>