Sha256: f6fa10fb29d3d7b0205f58e81d536f84732a2d42b458c99c98e07252dd74491c

Contents?: true

Size: 898 Bytes

Versions: 2

Compression:

Stored size: 898 Bytes

Contents

<div class="media-object notify-note <%= note_author_class %>" id="notify-note-<%= id %>" data-author-code="<%= notify_author&.code %>" data-chapter="<%= chapter&.title %>">
  <div class="media-object-section">
    <%= cell("decidim/notify/participant", author) %>
  </div>
  <div class="media-object-section main-section">
    <h4 class="note-name"><%= author&.name %> (@<%= author&.nickname %>)</h4>
    <p class="note-body"><%= body %></p>
    <em><%= l created_at, format: :decidim_short %></em>
  </div>
  <% if note_taker? %>
    <div class="media-object-section buttons">
      <%= button_to edit_path, method: :delete, remote: true, class: "delete", data: { confirm: t("decidim.notify.conversations.destroy.sure") } do %>
        <%= icon "trash" %>
      <% end %>
      <%= link_to edit_path, class: "edit" do %>
        <%= icon "pencil" %>
      <% end %>
    </div>
  <% end %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-notify-0.4 app/cells/decidim/notify/note/show.erb
decidim-notify-0.3 app/cells/decidim/notify/note/show.erb