Adds styles to no budgets message

This commit is contained in:
decabeza
2018-04-05 12:47:58 +02:00
committed by rgarcia
parent 39c6ac4a91
commit 563c1ebc93
3 changed files with 35 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
<% provide :title do %><%= t('budgets.index.title') %><% end %>
<% provide :title do %><%= t("budgets.index.title") %><% end %>
<% content_for :canonical do %>
<%= render "shared/canonical", href: budgets_url %>
<% end %>
@@ -152,8 +152,26 @@
</div>
</div>
<% end %>
</div>
<% else %>
<div class="expanded budget no-margin-top margin-bottom">
<div class="row">
<div class="small-12 medium-9 column padding">
<h1><%= t("budgets.index.title") %></h1>
</div>
</div>
</div>
<div class="row">
<div class="small-12 column">
<div class="callout primary">
<%= t("budgets.index.empty_budgets") %>
</div>
</div>
</div>
<% end %>
<div class="row">
<div class="small-12 column">
<div id="section_help" class="margin" data-magellan-target="section_help">
<p class="lead">
@@ -167,8 +185,4 @@
<p><%= t("budgets.index.section_footer.help_text_4") %></p>
</div>
</div>
</div>
</div>
<% else %>
<%= t("budgets.index.empty_budgets") %>
<% end %>
</div>

View File

@@ -41,7 +41,7 @@ en:
finished: Finished budget
index:
title: Participatory budgets
empty_budgets: There are no budgets
empty_budgets: There are no budgets.
section_header:
icon_alt: Participatory budgets icon
title: Participatory budgets

View File

@@ -41,7 +41,7 @@ es:
finished: Resultados
index:
title: Presupuestos participativos
empty_budgets: No hay presupuestos participativos
empty_budgets: No hay presupuestos participativos.
section_header:
icon_alt: Icono de Presupuestos participativos
title: Presupuestos participativos