Sha256: 0691f6ffc67d3653c4a3a8aadda5c9ced49b5d734c7b3f3f755f9b3aec3e4a37

Contents?: true

Size: 1004 Bytes

Versions: 3

Compression:

Stored size: 1004 Bytes

Contents

<% if note.author == current_user %>
  <%= cell("decidim/participatory_documents/edit_suggestion_note_modal", note, modal_id: "editNoteModal#{note.id}", note: note, suggestion: suggestion) %>
  <button type="button" class="link-alt m-xs"
          data-open="<%= current_user.present? ? "editNoteModal#{note.id}" : "loginModal" %>"
          title="<%= t("modal.title", scope: "decidim.participatory_documents.admin.suggestion_notes") %>"
          aria-controls="<%= current_user.present? ? "editNoteModal#{note.id}" : "loginModal" %>"
          aria-haspopup="true"
          tabindex="0"
          style="color:#97a2b2; cursor: pointer">
    <%= icon "pencil", aria_hidden: true, class: "action-icon--preview", role: "img", "aria-hidden": true %>
  </button>
<% end %>
<% if note.created_at != note.updated_at %>
  <span class="text-muted">
    <%= t("update.edited", scope: "decidim.participatory_documents.admin.suggestion_notes") %>
    <%= l note.updated_at, format: :short %>
  </span>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-participatory_documents-0.2.2 app/views/decidim/participatory_documents/admin/suggestion_notes/_editing_suggestion_note.html.erb
decidim-participatory_documents-0.2.1 app/views/decidim/participatory_documents/admin/suggestion_notes/_editing_suggestion_note.html.erb
decidim-participatory_documents-0.2.0 app/views/decidim/participatory_documents/admin/suggestion_notes/_editing_suggestion_note.html.erb