From 88cae1424ed566b79b37dfb68bf4a05fd5728e66 Mon Sep 17 00:00:00 2001 From: decabeza Date: Wed, 13 Mar 2019 17:56:29 +0100 Subject: [PATCH] Add missing mobile social share message --- app/views/budgets/investments/_votes.html.erb | 3 ++- app/views/debates/show.html.erb | 3 ++- app/views/legislation/processes/_header.html.erb | 3 ++- app/views/legislation/proposals/_featured_votes.html.erb | 3 ++- app/views/legislation/proposals/_votes.html.erb | 3 ++- app/views/legislation/proposals/show.html.erb | 3 ++- app/views/polls/_poll_header.html.erb | 3 ++- app/views/proposals/_featured_votes.html.erb | 3 ++- app/views/proposals/share.html.erb | 3 ++- 9 files changed, 18 insertions(+), 9 deletions(-) diff --git a/app/views/budgets/investments/_votes.html.erb b/app/views/budgets/investments/_votes.html.erb index 7d1593a05..cb2f77e6a 100644 --- a/app/views/budgets/investments/_votes.html.erb +++ b/app/views/budgets/investments/_votes.html.erb @@ -49,7 +49,8 @@ title: investment.title, image_url: image_absolute_url(investment.image, :thumb), url: budget_investment_url(investment.budget, investment), - description: investment.title + description: investment.title, + mobile: investment.title } %> <% end %> diff --git a/app/views/debates/show.html.erb b/app/views/debates/show.html.erb index d563cfaa9..a54983665 100644 --- a/app/views/debates/show.html.erb +++ b/app/views/debates/show.html.erb @@ -60,7 +60,8 @@ share_title: t("debates.show.share"), title: @debate.title, url: debate_url(@debate), - description: @debate.title + description: @debate.title, + mobile: @debate.title } %> diff --git a/app/views/legislation/processes/_header.html.erb b/app/views/legislation/processes/_header.html.erb index 67de094a9..38da6a6de 100644 --- a/app/views/legislation/processes/_header.html.erb +++ b/app/views/legislation/processes/_header.html.erb @@ -40,7 +40,8 @@ share_title: t("proposals.show.share"), title: @process.title, url: legislation_process_url(@process), - description: @process.title + description: @process.title, + mobile: @process.title } %> <% if @process.image.present? %> diff --git a/app/views/legislation/proposals/_featured_votes.html.erb b/app/views/legislation/proposals/_featured_votes.html.erb index 719782387..b119ff121 100644 --- a/app/views/legislation/proposals/_featured_votes.html.erb +++ b/app/views/legislation/proposals/_featured_votes.html.erb @@ -40,7 +40,8 @@ <%= render partial: 'shared/social_share', locals: { title: proposal.title, url: proposal_url(proposal), - description: proposal.summary + description: proposal.summary, + mobile: proposal.title } %> <% end %> diff --git a/app/views/legislation/proposals/_votes.html.erb b/app/views/legislation/proposals/_votes.html.erb index 03c707608..e948be29d 100644 --- a/app/views/legislation/proposals/_votes.html.erb +++ b/app/views/legislation/proposals/_votes.html.erb @@ -73,7 +73,8 @@ <%= render partial: 'shared/social_share', locals: { title: proposal.title, url: proposal_url(proposal), - description: proposal.summary + description: proposal.summary, + mobile: proposal.title } %> <% end %> diff --git a/app/views/legislation/proposals/show.html.erb b/app/views/legislation/proposals/show.html.erb index bd4f25980..ee291a916 100644 --- a/app/views/legislation/proposals/show.html.erb +++ b/app/views/legislation/proposals/show.html.erb @@ -108,7 +108,8 @@ share_title: t("proposals.show.share"), title: @proposal.title, url: legislation_process_proposal_url(process_id: @process), - description: @proposal.summary + description: @proposal.summary, + mobile: @proposal.title } %> diff --git a/app/views/polls/_poll_header.html.erb b/app/views/polls/_poll_header.html.erb index 2c7025065..9e9d31cb0 100644 --- a/app/views/polls/_poll_header.html.erb +++ b/app/views/polls/_poll_header.html.erb @@ -21,7 +21,8 @@ share_title: t("shared.share"), title: @poll.name, url: poll_url(@poll), - description: @poll.name + description: @poll.name, + mobile: @poll.name } %> diff --git a/app/views/proposals/_featured_votes.html.erb b/app/views/proposals/_featured_votes.html.erb index 719782387..b119ff121 100644 --- a/app/views/proposals/_featured_votes.html.erb +++ b/app/views/proposals/_featured_votes.html.erb @@ -40,7 +40,8 @@ <%= render partial: 'shared/social_share', locals: { title: proposal.title, url: proposal_url(proposal), - description: proposal.summary + description: proposal.summary, + mobile: proposal.title } %> <% end %> diff --git a/app/views/proposals/share.html.erb b/app/views/proposals/share.html.erb index 21fe337dc..1df757f46 100644 --- a/app/views/proposals/share.html.erb +++ b/app/views/proposals/share.html.erb @@ -24,7 +24,8 @@ <%= render partial: 'shared/social_share', locals: { title: @proposal.title, url: proposal_url(@proposal), - description: @proposal.summary + description: @proposal.summary, + mobile: @proposal.title } %>