Sha256: e04ece3e94e82db1b0e9df1566a918507e0fb8e59282430715a81f407ff2b6e5

Contents?: true

Size: 996 Bytes

Versions: 91

Compression:

Stored size: 996 Bytes

Contents

= content_for(:actions) do
  = link_to "Add", new_system_message_path, class: :button

= within_admin_layout(title: "System Messages") do
  .system-messages
    table
      thead
        th
        th
        th.col-width-tiny Severity
        th.col-width-date-time Display from
        th.col-width-date-time Display until
        th.col-width-tiny Active now
      tbody
        - messages.each do |message|
          tr
            td
              = link_to "Edit", edit_system_message_path(message)
              = pipe_separator
              = link_to "Delete",
                        system_message_path(message),
                        method: :delete,
                        data: { confirm: I18n.t("prompts.confirm_delete") }
            td
              = render message
            /td= simple_format(message.body)
            td= message.severity&.humanize
            td= l(message.display_from)
            td= l(message.display_until)
            td= yes_no(message.active?)

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
renalware-core-2.0.124 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.123 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.121 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.120 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.119 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.118 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.117 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.116 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.115 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.113 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.112 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.111 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.110 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.109 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.108 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.106 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.105 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.104 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.103 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.102 app/views/renalware/system/messages/index.html.slim