Added style buttons (All recommended debates/proposal). Added translations ES/EN.

This commit is contained in:
Alessandro Cuoghi
2017-07-31 18:26:37 +02:00
committed by taitus
parent fe3bb7a389
commit 6e12f2cddf
5 changed files with 15 additions and 4 deletions

View File

@@ -2166,6 +2166,10 @@ table {
@include breakpoint(small) {
margin-bottom: $line-height;
}
.button.hollow{
margin-top: $line-height;
}
}
.card {

View File

@@ -10,8 +10,9 @@
image_field: nil,
image_version: nil,
image_default: "https://dummyimage.com/600x400/000/fff",
carousel_size: carousel_size %>
<%= link_to "todos los debates recomendados", debates_path(order: "recommended") %>
carousel_size: carousel_size,
btn_text_link: t("welcome.recommended.debates.btn_text_link"),
btn_path_link: debates_path(order: "recommended") %>
<% end %>
<% if recommended_proposals.any? %>
@@ -21,8 +22,9 @@
image_field: nil,
image_version: nil,
image_default: "https://dummyimage.com/600x400/000/fff",
carousel_size: carousel_size %>
<%= link_to "todos las propuestas recomendados", proposals_path(order: "recommended") %>
carousel_size: carousel_size,
btn_text_link: t("welcome.recommended.proposals.btn_text_link"),
btn_path_link: proposals_path(order: "recommended") %>
<% end %>
</div>
</div>

View File

@@ -33,4 +33,5 @@
</div>
</div>
<%= link_to btn_text_link, btn_path_link, class: 'button hollow expanded' %>
</div>

View File

@@ -717,8 +717,10 @@ en:
title: Recommendations that may interest you
debates:
title: Recommended debates
btn_text_link: All recommended debates
proposals:
title: Recommended proposals
btn_text_link: All recommended proposals
budget_investments:
title: Recommended investments
verification:

View File

@@ -717,8 +717,10 @@ es:
title: Recomendaciones que te pueden interesar
debates:
title: Debates recomendados
btn_text_link: Todos los debates recomendados
proposals:
title: Propuestas recomendadas
btn_text_link: Todas las propuestas recomendadas
budget_investments:
title: Presupuestos recomendados
verification: