% content_for :body_class, "admin-body" %>
| <%= t("admin.ops.open.table.severity") %> | <%= t("admin.ops.open.table.kind") %> | <%= t("admin.ops.open.table.title") %> | <%= t("admin.ops.open.table.occurrences") %> | <%= t("admin.ops.open.table.last_seen") %> | |
|---|---|---|---|---|---|
| <%= inc.severity %> | <%= inc.kind %> |
<%= inc.title %>
<% if inc.message.present? %>
<%= truncate(inc.message, length: 120) %>
<% end %>
|
<%= inc.occurrence_count %> | <%= inc.last_seen_at&.strftime("%d/%m %H:%M") %> | <% unless inc.status == 'acknowledged' %> <%= button_to t("admin.ops.actions.acknowledge"), acknowledge_admin_op_path(inc), method: :post, class: "admin-btn admin-btn--sm" %> <% end %> <%= button_to t("admin.ops.actions.resolve"), resolve_admin_op_path(inc), method: :post, class: "admin-btn admin-btn--sm" %> <%= button_to t("admin.ops.actions.mute"), mute_admin_op_path(inc), method: :post, class: "admin-btn admin-btn--sm admin-btn--outline" %> |
<%= t("admin.ops.open.none") %>
<% end %>| <%= t("admin.ops.open.table.severity") %> | <%= t("admin.ops.open.table.kind") %> | <%= t("admin.ops.open.table.title") %> | <%= t("admin.ops.open.table.occurrences") %> | <%= t("admin.ops.resolved.table.resolved_at") %> |
|---|---|---|---|---|
| <%= inc.severity %> | <%= inc.kind %> | <%= inc.title %> | <%= inc.occurrence_count %> | <%= inc.updated_at.strftime("%d/%m %H:%M") %> |
<%= t("admin.ops.resolved.none") %>
<% end %>