Sha256: fc0145dc2ea891a94c0d7fba32fdafd918e74b25c795b1d0a9ab9360e3b7bad3
Contents?: true
Size: 1.98 KB
Versions: 5
Compression:
Stored size: 1.98 KB
Contents
.container = line_chart [{name: "Errors", data: @chart_data[:errors]}, {name: "Occurrences", data: @chart_data[:occurrences]}], discrete: true, height: "200px", colors: ["#000", "#00d1b2"] .tabs.is-boxed ul li class=("is-active" if !params[:scope] || params[:scope] == "active") = link_to "Active", root_path(scope: "active") li class=("is-active" if params[:scope] == "resolved") = link_to "Resolved", root_path(scope: "resolved") li class=("is-active" if params[:scope] == "wontfix") = link_to "Wontfix", root_path(scope: "wontfix") li class=("is-active" if params[:scope] == "all") = link_to "All", root_path(scope: "all") table.table.is-bordered.is-striped.is-fullwidth thead th | ID th | Last seen th | By th | Class name th | Message th | Count th | Status tbody - @errors.each do |error| tr td strong = link_to "##{error.id}", error td - time = error.last_occurred_at ? time_ago_in_words(error.last_occurred_at) : "Error" = time + " ago" td - 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 = error.exception_class_name td = error.exception_message td = error.occurrence_count td - if error.active? span.tag.is-danger.is-medium | Active - elsif error.resolved? span.tag.is-success.is-medium | Resolved - else span.tag.is-warning.is-medium | Wontfix .container .columns.is-centered .column.is-half = paginate(@errors)
Version data entries
5 entries across 5 versions & 1 rubygems