<%= translated_attribute(meeting.title) %>
|
<% if meeting.start_time %>
<%= l meeting.start_time, format: :long %>
<% end%>
|
<% if meeting.end_time %>
<%= l meeting.end_time, format: :long %>
<% end%>
|
<%= humanize_boolean meeting.closed? %>
|
<% if Decidim.geocoder.present? %>
<%= static_map_link(meeting) %>
|
<% end %>
<%= icon_link_to "eye", decidim_meetings.meeting_path(id: meeting, feature_id: current_feature, participatory_process_id: current_participatory_process), t("actions.preview", scope: "decidim.meetings"), class: "action-icon--preview", target: :blank %>
<% if can? :update, current_feature %>
<%= icon_link_to "pencil", edit_meeting_path(meeting), t("actions.edit", scope: "decidim.meetings"), class: "action-icon--edit" %>
<% end %>
<% if can? :update, current_feature %>
<%= icon_link_to "lock-locked", edit_meeting_meeting_close_path(meeting_id: meeting.id, id: meeting.id), t("actions.close", scope: "decidim.meetings"), class: "action-icon--close" %>
<% end %>
<% if can? :update, current_feature %>
<%= icon_link_to "paperclip", meeting_attachments_path(meeting), t("actions.attachments", scope: "decidim.meetings"), class: "action-icon--attachments" %>
<% end %>
<% if can? :destroy, current_feature %>
<%= icon_link_to "circle-x", meeting_path(meeting), t("actions.destroy", scope: "decidim.meetings"), method: :delete, class: "action-icon--remove", data: { confirm: t("actions.confirm_destroy", scope: "decidim.meetings") } %>
<% end %>
|
<% end %>