Sha256: 7d581497297a72c3c4ea855dcbbd19e1e38b8e6134423322462cbc9c5b46a067

Contents?: true

Size: 973 Bytes

Versions: 5

Compression:

Stored size: 973 Bytes

Contents

<% if note.author == current_user %>
  <%= cell("decidim/reporting_proposals/edit_note_modal", note, modal_id: "editNoteModal#{note.id}", note: note, proposal: proposal) %>
  <button type="button" class="link-alt m-xs"
          data-open="<%= current_user.present? ? "editNoteModal#{note.id}" : "loginModal" %>"
          title="<%= t("modal.title", scope: "decidim.reporting_proposals.admin.proposal_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.reporting_proposals.admin.proposal_notes") %>
    <%= l note.updated_at, format: :short %>
  </span>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-reporting_proposals-0.5.2 app/views/decidim/proposals/admin/proposal_notes/_editing_note.html.erb
decidim-reporting_proposals-0.5.1 app/views/decidim/proposals/admin/proposal_notes/_editing_note.html.erb
decidim-reporting_proposals-0.5.0 app/views/decidim/proposals/admin/proposal_notes/_editing_note.html.erb
decidim-reporting_proposals-0.4.2 app/views/decidim/proposals/admin/proposal_notes/_editing_note.html.erb
decidim-reporting_proposals-0.2.0 app/views/decidim/proposals/admin/proposal_notes/_editing_note.html.erb