<%= present(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 allowed_to? :copy, :meeting, meeting: meeting %>
<%= icon_link_to "clipboard", new_meeting_copy_path(meeting), t("actions.duplicate", scope: "decidim.admin"), class: "action-icon--copy" %>
<% end %>
<% if allowed_to? :update, :meeting, meeting: meeting %>
<%= 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" %>
<%= icon_link_to "clock", meeting.minutes.present? ? edit_meeting_minute_path(meeting, meeting.minutes) : new_meeting_minute_path(meeting), t("actions.minutes", scope: "decidim.meetings"), class: "action-icon--minutes" %>
<%= icon_link_to "calendar", meeting.agenda.present? ? edit_meeting_agenda_path(meeting, meeting.agenda) : new_meeting_agenda_path(meeting), t("actions.agenda", scope: "decidim.meetings"), class: "action-icon--agenda" %>
<% end %>
<% if allowed_to? :close, :meeting, meeting: meeting %>
<%= 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 allowed_to? :update, :meeting, meeting: meeting %>
<%= icon_link_to "folder", meeting_attachment_collections_path(meeting), t("actions.attachment_collections", scope: "decidim.meetings"), class: "action-icon--attachment_collections" %>
<% end %>
<% if allowed_to? :update, :meeting, meeting: meeting %>
<%= icon_link_to "paperclip", meeting_attachments_path(meeting), t("actions.attachments", scope: "decidim.meetings"), class: "action-icon--attachments" %>
<% end %>
<%= resource_permissions_link(meeting) %>
<% if allowed_to? :destroy, :meeting, meeting: meeting %>
<%= 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 %>