Sha256: d9050671ba5068d8436a2d7259f3027853f8c81c5e85620803d04b9d4be4a662

Contents?: true

Size: 1.13 KB

Versions: 18

Compression:

Stored size: 1.13 KB

Contents

<main class="wrapper" id="notifications">
  <div class="row">
    <div class="columns">
      <div class="title-action" >
        <h1 class="heading1 title-action__title"><%= t("title", scope: "layouts.decidim.notifications_dashboard") %></h1>
        <%= link_to(
          t("mark_all_as_read", scope: "layouts.decidim.notifications_dashboard"),
          decidim.read_all_notifications_path,
          class: "button title-action__action hollow mark-all-as-read-button",
          method: :delete,
          data: { disable: true },
          remote: true
        ) %>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="columns mediumlarge-12 large-12">
      <p class="empty-notifications hide"><%= t("no_notifications", scope: "layouts.decidim.notifications_dashboard") %></p>
      <% if notifications.any? %>
        <section class="section" id="notifications-list">
          <div class="card card--list">
            <%= render notifications %>
          </div>
        </section>
        <%= decidim_paginate notifications %>
      <% end %>
    </div>
  </div>
</main>

<%= javascript_include_tag "decidim/notifications" %>

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
decidim-core-0.6.8 app/views/decidim/notifications/index.html.erb
decidim-0.6.8 decidim-core/app/views/decidim/notifications/index.html.erb
decidim-core-0.6.7 app/views/decidim/notifications/index.html.erb
decidim-0.6.7 decidim-core/app/views/decidim/notifications/index.html.erb
decidim-core-0.6.6 app/views/decidim/notifications/index.html.erb
decidim-0.6.6 decidim-core/app/views/decidim/notifications/index.html.erb
decidim-core-0.6.5 app/views/decidim/notifications/index.html.erb
decidim-0.6.5 decidim-core/app/views/decidim/notifications/index.html.erb
decidim-core-0.6.4 app/views/decidim/notifications/index.html.erb
decidim-0.6.4 decidim-core/app/views/decidim/notifications/index.html.erb
decidim-core-0.6.3 app/views/decidim/notifications/index.html.erb
decidim-0.6.3 decidim-core/app/views/decidim/notifications/index.html.erb
decidim-core-0.6.2 app/views/decidim/notifications/index.html.erb
decidim-0.6.2 decidim-core/app/views/decidim/notifications/index.html.erb
decidim-core-0.6.1 app/views/decidim/notifications/index.html.erb
decidim-0.6.1 decidim-core/app/views/decidim/notifications/index.html.erb
decidim-core-0.6.0 app/views/decidim/notifications/index.html.erb
decidim-0.6.0 decidim-core/app/views/decidim/notifications/index.html.erb