improves styles for budgets investments ballot and votes
This commit is contained in:
@@ -712,6 +712,7 @@
|
||||
}
|
||||
|
||||
.remove .icon-check-circle {
|
||||
color: $budget;
|
||||
display: block;
|
||||
font-size: rem-calc(70);
|
||||
line-height: rem-calc(70);
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
class: "remove-investment-project",
|
||||
method: :delete,
|
||||
remote: true do %>
|
||||
<span class="icon-x delete"></span>
|
||||
<span class="sr-only"><%= t('budgets.ballots.show.remove') %></span>
|
||||
<span class="icon-x delete"></span>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</li>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<% if ballot.has_investment?(investment) %>
|
||||
|
||||
<div class="remove supported inline-block">
|
||||
<span class="icon-check-circle bounceIn animated"
|
||||
<span class="icon-check-circle"
|
||||
title="<%= t("budget.investments.investment.already_added") %>">
|
||||
</span>
|
||||
<p class="investment-project-amount">
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
<% if reason.present? && !ballot.has_investment?(investment) %>
|
||||
|
||||
<div class="js-participation-not-allowed" style='display:none'>
|
||||
<div class="js-participation-not-allowed participation-not-allowed" style='display:none'>
|
||||
<p>
|
||||
<%= t("budgets.ballots.reasons_for_not_balloting.#{reason}",
|
||||
verify_account: link_to(t("votes.verify_account"), verification_path),
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
|
||||
<% if reason.present? && !user_voted_for %>
|
||||
<div class="js-participation-not-allowed" style='display:none' aria-hidden="false">
|
||||
<div class="js-participation-not-allowed participation-not-allowed" style='display:none' aria-hidden="false">
|
||||
<p>
|
||||
<%= t("votes.budget_investments.#{reason}",
|
||||
verify_account: link_to(t("votes.verify_account"), verification_path),
|
||||
|
||||
@@ -16,7 +16,7 @@ en:
|
||||
not_verified: Only verified users can vote on proposals; %{verify_account}.
|
||||
organization: Organizations are not permitted to vote
|
||||
not_selected: Unselected investment projects can not be supported
|
||||
not_enough_money: "Price is higher than the available amount left"
|
||||
not_enough_money: "Price is higher than the available amount left."
|
||||
no_ballots_allowed: Selecting phase is closed
|
||||
different_heading_assigned: You have already voted a different heading
|
||||
groups:
|
||||
@@ -122,6 +122,8 @@ en:
|
||||
header:
|
||||
check_ballot: Check my ballot
|
||||
different_heading_assigned_html: "You have active votes in another heading: %{heading_link}"
|
||||
progress_bar:
|
||||
available: "Available: "
|
||||
show:
|
||||
group: Group
|
||||
heading: Heading
|
||||
|
||||
@@ -11,14 +11,14 @@ es:
|
||||
other: "Has votado <span>%{count}</span> propuestas."
|
||||
voted_info_html: "Puedes cambiar tus votos en cualquier momento hasta el cierre de esta fase.<br> No hace falta que inviertas todo el dinero disponible."
|
||||
zero: "Todavía no has votado ninguna propuesta de inversión."
|
||||
reasons_for_not_balloting:
|
||||
not_logged_in: Necesitas %{signin} o %{signup} para continuar.
|
||||
not_verified: Las propuestas de inversión sólo pueden ser apoyadas por usuarios verificados, %{verify_account}.
|
||||
organization: Las organizaciones no pueden votar.
|
||||
not_selected: No se pueden votar propuestas inviables.
|
||||
not_enough_money: No hay fondos suficientes
|
||||
no_ballots_allowed: El periodo de votación está cerrado.
|
||||
different_heading_assigned: Ya votaste en una sección distinta del presupuesto.
|
||||
reasons_for_not_balloting:
|
||||
not_logged_in: Necesitas %{signin} o %{signup} para continuar.
|
||||
not_verified: Las propuestas de inversión sólo pueden ser apoyadas por usuarios verificados, %{verify_account}.
|
||||
organization: Las organizaciones no pueden votar.
|
||||
not_selected: No se pueden votar propuestas inviables.
|
||||
not_enough_money: No hay fondos suficientes.
|
||||
no_ballots_allowed: El periodo de votación está cerrado.
|
||||
different_heading_assigned: Ya votaste en una sección distinta del presupuesto.
|
||||
groups:
|
||||
show:
|
||||
title: Selecciona una partida
|
||||
@@ -121,6 +121,8 @@ es:
|
||||
header:
|
||||
check_ballot: Revisar mis votos
|
||||
different_heading_assigned_html: "Ya apoyaste propuestas de otra sección del presupuesto: %{heading_link}"
|
||||
progress_bar:
|
||||
available: "Disponible: "
|
||||
show:
|
||||
group: Grupo
|
||||
heading: Partida
|
||||
|
||||
Reference in New Issue
Block a user