Added style buttons (All recommended debates/proposal). Added translations ES/EN.
This commit is contained in:
committed by
taitus
parent
fe3bb7a389
commit
6e12f2cddf
@@ -2166,6 +2166,10 @@ table {
|
||||
@include breakpoint(small) {
|
||||
margin-bottom: $line-height;
|
||||
}
|
||||
|
||||
.button.hollow{
|
||||
margin-top: $line-height;
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -33,4 +33,5 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<%= link_to btn_text_link, btn_path_link, class: 'button hollow expanded' %>
|
||||
</div>
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user