Sha256: 5ebc26c1ec1fff3d024c1ebef4603cdfd9e85aec64c9b196b402462a11a7221a

Contents?: true

Size: 897 Bytes

Versions: 1

Compression:

Stored size: 897 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-dialog-open="editNoteModal<%= note.id %>"
          title="<%= t("modal.title", scope: "decidim.reporting_proposals.admin.proposal_notes") %>"
          aria-controls="editNoteModal<%= note.id %>"
          aria-haspopup="true"
          tabindex="0"
          style="color:#97a2b2; cursor: pointer">
    <%= icon "pencil-line", 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

1 entries across 1 versions & 1 rubygems

Version Path
decidim-reporting_proposals-0.6.0 app/views/decidim/proposals/admin/proposal_notes/_editing_note.html.erb