<%= 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", resource_locator(meeting).path, 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" %>
<%= icon_link_to "people", edit_meeting_registrations_path(meeting), t("actions.registrations", scope: "decidim.meetings"), class: "action-icon--registrations" %>
<% 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 "folder", meeting_attachment_collections_path(meeting), t("actions.attachment_collections", scope: "decidim.meetings"), class: "action-icon--attachment_collections" %>
<% 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 %>