Sha256: 5b78f73bce9eb41f4a19cb55a1d1bf95eb2f1f3a44c38ab34986a018fe2b09ae
Contents?: true
Size: 1.67 KB
Versions: 3
Compression:
Stored size: 1.67 KB
Contents
<tr class="even:bg-gray-50 align-top"> <td scope="col" class="whitespace-wrap py-4 pl-4 pr-3 font-medium text-gray-900 sm:pl-3"> <div> <%= error.emoji %> <%= link_to error_path(error), class: "text-blue-400 underline inline-flex items-baseline gap-1" do %> <strong><code><%= error.exception_class %></code></strong> <% end %> from <em><code><%= error.source %></code></em> </div> <pre class="ml-6 mt-4"><%= error.message %></pre> </td> <td scope="col" class="whitespace-nowrap px-3 py-4 pt-7 text-gray-500 text-right"> <%= error.occurrences.size %> </td> <td scope="col" class="whitespace-nowrap px-3 py-4 pt-7 text-gray-500 text-right"> <%= time_ago_in_words error.occurrences.maximum(:created_at), scope: 'datetime.distance_in_words.short' %> </td> <td class="relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-3"> <%= button_to error_path(error), method: :patch, class: "inline-flex items-center justify-center gap-2 font-medium cursor-pointer border rounded-lg py-3 px-5 bg-transparent text-blue-500 border-blue-500 hover:ring-blue-200 hover:ring-8", params: { error: { resolved_at: Time.now } } do %> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-check2-circle" viewBox="0 0 16 16"> <path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0 5.5 5.5 0 1 1-11 0"/> <path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0z"/> </svg> <span>Resolve<span class="sr-only">, Error #<%= error.id %></span></span> <% end %> </td> </tr>
Version data entries
3 entries across 3 versions & 1 rubygems