diff --git a/app/views/legislation/annotations/_slim_version_chooser.html.erb b/app/views/legislation/annotations/_slim_version_chooser.html.erb index 2f2203374..a3288597e 100644 --- a/app/views/legislation/annotations/_slim_version_chooser.html.erb +++ b/app/views/legislation/annotations/_slim_version_chooser.html.erb @@ -15,9 +15,10 @@ diff --git a/app/views/legislation/annotations/show.html.erb b/app/views/legislation/annotations/show.html.erb index 46c728a16..a299d160e 100644 --- a/app/views/legislation/annotations/show.html.erb +++ b/app/views/legislation/annotations/show.html.erb @@ -32,10 +32,11 @@ diff --git a/app/views/legislation/questions/show.html.erb b/app/views/legislation/questions/show.html.erb index 9a290e364..ab1443628 100644 --- a/app/views/legislation/questions/show.html.erb +++ b/app/views/legislation/questions/show.html.erb @@ -38,9 +38,7 @@ diff --git a/app/views/legislation/shared/_share_buttons.html.erb b/app/views/legislation/shared/_share_buttons.html.erb index acc86f4ea..0486b9d2d 100644 --- a/app/views/legislation/shared/_share_buttons.html.erb +++ b/app/views/legislation/shared/_share_buttons.html.erb @@ -1,5 +1,9 @@ -
- twitter - facebook - google_plus +
+ <%= social_share_button_tag("#{title} #{setting['twitter_hashtag']}") %> + <% if browser.device.mobile? %> + + + <%= t("social.whatsapp") %> + + <% end %>
diff --git a/config/locales/legislation.en.yml b/config/locales/legislation.en.yml index 0a780e684..c60160591 100644 --- a/config/locales/legislation.en.yml +++ b/config/locales/legislation.en.yml @@ -108,7 +108,5 @@ en: verify_account: verify your account debate_phase_not_open: Debate phase has finished and answers are not accepted anymore shared: - share_twitter: Share on Twitter - share_facebook: Share on Facebook - share_gplus: Share on Google+ + share: Share share_comment: Comment on %{version_name} from process draft %{process_name} diff --git a/config/locales/legislation.es.yml b/config/locales/legislation.es.yml index b35833644..a81f4a31d 100644 --- a/config/locales/legislation.es.yml +++ b/config/locales/legislation.es.yml @@ -108,7 +108,5 @@ es: verify_account: verifica tu cuenta debate_phase_not_open: La fase de debate previo ya ha finalizado y en este momento no se aceptan respuestas shared: - share_twitter: Compartir en Twitter - share_facebook: Compartir en Facebook - share_gplus: Compartir en Google+ + share: Compartir share_comment: Comentario sobre la %{version_name} del borrador del proceso %{process_name}