<%= link_to translated_attribute(meeting.title), decidim_meetings.meeting_path(id: meeting, feature_id: current_feature, participatory_process_id: current_participatory_process), target: :blank %>
|
<% 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 %>
<%= link_to t("actions.edit", scope: "decidim.meetings"), edit_meeting_path(meeting) if can? :update, current_feature %>
<%= link_to t("actions.close", scope: "decidim.meetings"), edit_meeting_meeting_close_path(meeting_id: meeting.id, id: meeting.id) if can? :update, current_feature %>
<%= link_to t("actions.attachments", scope: "decidim.meetings"), meeting_attachments_path(meeting) if can? :update, current_feature %>
<%= link_to t("actions.destroy", scope: "decidim.meetings"), meeting_path(meeting), method: :delete, class: "small alert button", data: { confirm: t("actions.confirm_destroy", scope: "decidim.meetings") } if can? :destroy, current_feature %>
|
<% end %>