improves messages on header
This commit is contained in:
@@ -1145,6 +1145,12 @@
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.tagline {
|
||||
display: block;
|
||||
font-size: $small-font-size;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.callout.warning {
|
||||
font-size: $base-font-size;
|
||||
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
<%= progress_bar_width(@budget.heading_price(@heading),
|
||||
@ballot.amount_spent(@heading)) %>">
|
||||
<p id="amount-spent" class="progress-meter-text spent-amount-text">
|
||||
<%= @ballot.formatted_amount_spent(@heading) %>
|
||||
<small><%= t("budgets.progress_bar.assigned") %></small><%= @ballot.formatted_amount_spent(@heading) %>
|
||||
<span id="amount-available" class="amount-available">
|
||||
<%= t("budgets.progress_bar.available") %>
|
||||
<small><%= t("budgets.progress_bar.available") %></small>
|
||||
<span><%= @ballot.formatted_amount_available(@heading) %></span>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
@@ -53,7 +53,10 @@
|
||||
<% end %>
|
||||
<% else %>
|
||||
<h1 class="margin-top"><%= @heading.name %></h1>
|
||||
<h2><%= @budget.formatted_heading_price(@heading) %></h2>
|
||||
<h2>
|
||||
<span class="tagline"><%= t("budgets.investments.header.price") %></span>
|
||||
<%= @budget.formatted_heading_price(@heading) %>
|
||||
</h2>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -131,8 +131,10 @@ en:
|
||||
different_heading_assigned_html: "You have active votes in another heading: %{heading_link}"
|
||||
change_ballot: "If your change your mind you can remove your votes in %{check_ballot} and start again."
|
||||
check_ballot_link: "check my ballot"
|
||||
price: "This heading have a budget of"
|
||||
progress_bar:
|
||||
available: "Available: "
|
||||
assigned: "You have assigned: "
|
||||
available: "Available budget: "
|
||||
show:
|
||||
group: Group
|
||||
phase: Actual phase
|
||||
|
||||
@@ -131,8 +131,10 @@ es:
|
||||
different_heading_assigned_html: 'Ya apoyaste propuestas de otra sección del presupuesto: %{heading_link}'
|
||||
change_ballot: "Si cambias de opinión puedes borrar tus votos en %{check_ballot} y volver a empezar."
|
||||
check_ballot_link: "revisar mis votos"
|
||||
price: "Esta partida tiene un presupuesto de"
|
||||
progress_bar:
|
||||
available: 'Disponible: '
|
||||
assigned: "Has asignado: "
|
||||
available: "Presupuesto disponible: "
|
||||
show:
|
||||
group: Grupo
|
||||
phase: Fase actual
|
||||
|
||||
Reference in New Issue
Block a user