Sha256: 6a7dd0b9fc3e2f84a045da5960700da5cc7b87c170490dc9fd6b020aafc92c46

Contents?: true

Size: 1.53 KB

Versions: 4

Compression:

Stored size: 1.53 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)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
errdo-0.12.6 app/views/errdo/errors/index.html.slim
errdo-0.12.5 app/views/errdo/errors/index.html.slim
errdo-0.12.4 app/views/errdo/errors/index.html.slim
errdo-0.12.3 app/views/errdo/errors/index.html.slim