Sha256: 73585b208af2d743c581d3480f57ec1b731da076e580cac8d76ebb5da94ad8be

Contents?: true

Size: 977 Bytes

Versions: 28

Compression:

Stored size: 977 Bytes

Contents

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

= within_new_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.actions
              = link_to "Edit", edit_system_message_path(message)
              = 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

28 entries across 28 versions & 1 rubygems

Version Path
renalware-core-2.0.167 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.166 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.165 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.164 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.163 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.162 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.161 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.160 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.159 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.158 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.157 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.156 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.155 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.153 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.152 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.151 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.149 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.148 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.147 app/views/renalware/system/messages/index.html.slim
renalware-core-2.0.146 app/views/renalware/system/messages/index.html.slim