fluentd-ui/app/views/fluentd/errors.html.haml
Kenji Okimoto eeb4099568
Fix a typo in StyleSheet class name
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-24 14:26:33 +09:00

19 lines
568 B
Plaintext

- page_title t('fluentd.common.recent_errors', days: @error_duration_days) do
- link_to raw_log_daemon_path(@fluentd), class: "btn btn-primary float-right mt-3" do
= icon('fa-download')
= t('fluentd.common.raw_log_link')
.row
.col-xl-12.col-sm-12
- @errors.each do |error|
.card.card-primary
.card-header
%h4= error[:subject]
- if error[:notes].present?
.card-body
%ul
- error[:notes].each do |stack|
%li= stack
- if @errors.empty?
%p= t('.error_is_empty')