Sha256: 635157260cf6f633c94b69e33ceaf80150e3df782927c23b1dbe639fe5e69e75

Contents?: true

Size: 1.24 KB

Versions: 16

Compression:

Stored size: 1.24 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>
        <% if notifications.any? %>
          <%= 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
          ) %>
        <% end %>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="columns mediumlarge-12 large-12">
      <div class="empty-notifications hide callout secondary">
        <p><%= t("no_notifications", scope: "layouts.decidim.notifications_dashboard") %></p>
      </div>
      <% 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

16 entries across 16 versions & 1 rubygems

Version Path
decidim-core-0.10.1 app/views/decidim/notifications/index.html.erb
decidim-core-0.10.0 app/views/decidim/notifications/index.html.erb
decidim-core-0.9.3 app/views/decidim/notifications/index.html.erb
decidim-core-0.9.2 app/views/decidim/notifications/index.html.erb
decidim-core-0.9.1 app/views/decidim/notifications/index.html.erb
decidim-core-0.9.0 app/views/decidim/notifications/index.html.erb
decidim-core-0.8.4 app/views/decidim/notifications/index.html.erb
decidim-core-0.8.3 app/views/decidim/notifications/index.html.erb
decidim-core-0.8.2 app/views/decidim/notifications/index.html.erb
decidim-core-0.8.1 app/views/decidim/notifications/index.html.erb
decidim-core-0.8.0 app/views/decidim/notifications/index.html.erb
decidim-core-0.7.4 app/views/decidim/notifications/index.html.erb
decidim-core-0.7.3 app/views/decidim/notifications/index.html.erb
decidim-core-0.7.2 app/views/decidim/notifications/index.html.erb
decidim-core-0.7.1 app/views/decidim/notifications/index.html.erb
decidim-core-0.7.0 app/views/decidim/notifications/index.html.erb