Sha256: ec05f823a760d617772f872a89b90b51b00112726d6f57e8d1b18043a95fea78

Contents?: true

Size: 1.58 KB

Versions: 1

Compression:

Stored size: 1.58 KB

Contents

%div#dialog_content{:style => "word-wrap: break-word;"}

.grid_16
  .alert-info
    = _("User notifications lists all notifications generated by a user as well as global notifications that are sent to all users.")

.grid_10
  %h2
    = _("User Notifications")

.top_bar
  = link_to _("Delete All"), {:action => "destroy_all", :controller => "notices"}, :method => :delete, :confirm => _('Are you sure?'), :class=>'deletable', :remote => true
  %form.fr#search_form.search{"data-url" => search_index_path()}
    = text_field_tag(:search, params[:search], {:type => "text", :placeholder => "Filter..."})
    %button.action{:form => "search_form"} #{_("Search")}

.grid_16
  %table.notifications
    %thead
      %th
        = sortable "created_at", _("Created (UTC)")
      %th
        = sortable "level", _("Level")
      %th
        = _("Organization")
      %th
        = _("Description")
    %tbody#notification_list
      - for notice in @notices
        - if notice.details.nil?
          %tr{:class => "#{notice.level}"}
            %td #{format_time(DateTime.parse(notice.created_at))}
            %td #{notice.level}
            %td #{notice.organization}
            %td
              = "#{notice.text}".html_safe
        - else
          %tr.details{:id => "#{notice.id}", :class => "#{notice.level}", 'data-url' => notices_details_path(notice.id)}
            %td #{format_time(DateTime.parse(notice.created_at))}
            %td #{notice.level}
            %td #{notice.organization}
            %td
              %div.details-icon.fr
              = "#{notice.text}".html_safe

= javascript 'katello/notices'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
katello-2.2.2 app/views/katello/notices/show.html.haml