Merge pull request #3053 from consul/budget-investment-social-share
[Backport] Budget investments social share
This commit is contained in:
@@ -179,13 +179,17 @@
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%= render partial: 'shared/social_share', locals: {
|
||||
<%= render 'shared/social_share',
|
||||
share_title: t("budgets.investments.show.share"),
|
||||
title: investment.title,
|
||||
image_url: image_absolute_url(investment.image, :thumb),
|
||||
url: budget_investment_url(investment.budget, investment),
|
||||
description: investment.title
|
||||
} %>
|
||||
description: t("budgets.investments.share.message",
|
||||
title: investment.title,
|
||||
org: setting['org_name']),
|
||||
mobile: t("budgets.investments.share.message_mobile",
|
||||
title: investment.title,
|
||||
handle: setting['twitter_handle']) %>
|
||||
|
||||
<% if current_user %>
|
||||
<div class="sidebar-divider"></div>
|
||||
|
||||
@@ -105,6 +105,9 @@ en:
|
||||
random: random
|
||||
confidence_score: highest rated
|
||||
price: by price
|
||||
share:
|
||||
message: "I created the investment project %{title} in %{org}. Create an investment project you too!"
|
||||
message_mobile: "I created the investment project %{title} in %{handle}. Create an investment project you too!"
|
||||
show:
|
||||
author_deleted: User deleted
|
||||
price_explanation: Price explanation
|
||||
|
||||
@@ -105,6 +105,9 @@ es:
|
||||
random: Aleatorios
|
||||
confidence_score: Mejor valorados
|
||||
price: Por coste
|
||||
share:
|
||||
message: "He presentado el proyecto %{title} en %{org}. ¡Presenta un proyecto tú también!"
|
||||
message_mobile: "He presentado el proyecto %{title} en %{handle}. ¡Presenta un proyecto tú también!"
|
||||
show:
|
||||
author_deleted: Usuario eliminado
|
||||
price_explanation: Informe de coste
|
||||
|
||||
Reference in New Issue
Block a user