Sha256: 5215d542997f3067f4d7427bc352f0ee038692844a9fa030538ff95baf73b972

Contents?: true

Size: 1.55 KB

Versions: 5

Compression:

Stored size: 1.55 KB

Contents

#list
  .container-fluid
    .col-sm-10.col-sm-offset-1
      h1
        | All errors

      - total_count = @errors.total_count.to_i
      .row
        .col-md-6
          .clearfix.total-count= "#{total_count} #{"error".pluralize(total_count)}"


      table.table.table-condensed.table-striped
        thead
          tr
            th.time-column Last seen
            th.user-column By
            th.class-column Class Name
            th.message-column Message
            th.count-column Count
            th.status-column Status
        tbody
          - @errors.each do |error|
            tr.errdo
              td.errdo.time-column
                = link_to time_ago_in_words(error.last_occurred_at) + " ago", error, class: "errdo"
              td.errdo.user-column
                - if user_show_path(error.last_experiencer)
                  = link_to user_show_string(error.last_experiencer),
                    user_show_path(error.last_experiencer), class: "errdo"
                - else
                  = user_show_string(error.last_experiencer)
              td.errdo.class-column
                = link_to error.exception_class_name, error, class: "errdo"
              td.errdo.message-column
                = link_to error.exception_message, error, class: "errdo"
              td.errdo.count-column
                = link_to error.occurrence_count, error, class: "errdo"
              td.errdo.status-column
                span class="errdo-#{error.status}"
                  = error.status

      .row
        .col-md-6 = paginate(@errors,remote: true)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
errdo-0.12.2 app/views/errdo/errors/index.html.slim
errdo-0.12.1 app/views/errdo/errors/index.html.slim
errdo-0.12.0 app/views/errdo/errors/index.html.slim
errdo-0.11.6 app/views/errdo/errors/index.html.slim
errdo-0.11.5 app/views/errdo/errors/index.html.slim