decidim-meetings/app/views/decidim/meetings/meetings/show.html.erb in decidim-0.0.3 vs decidim-meetings/app/views/decidim/meetings/meetings/show.html.erb in decidim-0.0.4

- old
+ new

@@ -1,7 +1,13 @@ -<% content_for(:title, translated_attribute(meeting.title)) %> +<% provide(:title, translated_attribute(meeting.title)) %> +<% add_meta_tags({ + title: translated_attribute(meeting.title), + description: translated_attribute(meeting.description), + url: meeting_url(meeting.id) +}) %> + <div class="row column view-header"> <h2 class="heading2"><%= translated_attribute meeting.title %></h2> </div> <div class="row"> <div class="columns section view-side mediumlarge-4 mediumlarge-push-8 @@ -30,10 +36,11 @@ <span class="definition-data__title"><%= t(".organizations") %></span> <span class="definition-data__text"><%= meeting.attending_organizations %></span> </div> </div> <% end %> + <%= render partial: "decidim/shared/share_modal" %> </div> <div class="columns mediumlarge-8 mediumlarge-pull-4"> <div class="section"> <p><%== translated_attribute meeting.description %></p> <div class="card card--secondary"> @@ -62,5 +69,8 @@ <%= linked_resources_for meeting, :proposals, "proposals_from_meeting" %> <%= linked_resources_for meeting, :results, "meetings_through_proposals" %> </div> </div> <%= attachments_for meeting %> + +<%= javascript_include_tag "decidim/proposals/social_share" %> +<%= stylesheet_link_tag "decidim/proposals/social_share" %>