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) { @include breakpoint(small) {
margin-bottom: $line-height; margin-bottom: $line-height;
} }
.button.hollow{
margin-top: $line-height;
}
} }
.card { .card {

View File

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

View File

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

View File

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

View File

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