Adds styles to no budgets message
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<% provide :title do %><%= t('budgets.index.title') %><% end %>
|
<% provide :title do %><%= t("budgets.index.title") %><% end %>
|
||||||
<% content_for :canonical do %>
|
<% content_for :canonical do %>
|
||||||
<%= render "shared/canonical", href: budgets_url %>
|
<%= render "shared/canonical", href: budgets_url %>
|
||||||
<% end %>
|
<% end %>
|
||||||
@@ -152,6 +152,24 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% 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="row">
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
@@ -168,7 +186,3 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<% else %>
|
|
||||||
<%= t("budgets.index.empty_budgets") %>
|
|
||||||
<% end %>
|
|
||||||
@@ -41,7 +41,7 @@ en:
|
|||||||
finished: Finished budget
|
finished: Finished budget
|
||||||
index:
|
index:
|
||||||
title: Participatory budgets
|
title: Participatory budgets
|
||||||
empty_budgets: There are no budgets
|
empty_budgets: There are no budgets.
|
||||||
section_header:
|
section_header:
|
||||||
icon_alt: Participatory budgets icon
|
icon_alt: Participatory budgets icon
|
||||||
title: Participatory budgets
|
title: Participatory budgets
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ es:
|
|||||||
finished: Resultados
|
finished: Resultados
|
||||||
index:
|
index:
|
||||||
title: Presupuestos participativos
|
title: Presupuestos participativos
|
||||||
empty_budgets: No hay presupuestos participativos
|
empty_budgets: No hay presupuestos participativos.
|
||||||
section_header:
|
section_header:
|
||||||
icon_alt: Icono de Presupuestos participativos
|
icon_alt: Icono de Presupuestos participativos
|
||||||
title: Presupuestos participativos
|
title: Presupuestos participativos
|
||||||
|
|||||||
Reference in New Issue
Block a user