Sha256: fe0aa8390fac393c634790f0f64a42679355bdd6a08a5aca03908d28f2ace064
Contents?: true
Size: 1.83 KB
Versions: 6
Compression:
Stored size: 1.83 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="whitespace-pre-wrap 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"> <% last_seen_at = error.occurrences.maximum(:created_at) %> <abbr title="<%= last_seen_at.iso8601 %>" class="cursor-help"> <%= time_tag last_seen_at, time_ago_in_words(last_seen_at, scope: 'datetime.distance_in_words.short') %> </abbr> </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
6 entries across 6 versions & 1 rubygems