Skip to content

Commit

Permalink
resolve review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Apr 3, 2024
1 parent f840c13 commit d67d1cc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<% else %>
<div class="delegations-notice flex--cc" style="margin-top:1rem; width: 100%;">
<button id="delegations-button" class="card__button button small expanded warning" style="color:white;">
👉
<%= t("action_delegator.delegations.link", scope: "decidim") %>
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<% if question.votes.where(author: current_user).any? %>
<% user_response = question.responses.joins(:votes).find_by(votes: { author: current_user }) %>
<% if user_response %>
<p><%= translated_attribute(user_response.title) %></p>
<p title="<%= translated_attribute(user_response.title) %>"><%= t("booleans.true") %></p>
<% end %>
<% else %>
<%= link_to t("action_delegator.questions.question_not_answered", scope: "decidim"), decidim_consultations.question_path(question), class: "text-primary" %>
Expand Down
2 changes: 1 addition & 1 deletion config/locales/ca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ ca:
phone_warning: Aquest número de telèfon s'ha importat per l'administrador. Si us plau, poseu-vos-hi en contacte si no és correcte.
delegations:
has_delegations: Vot delegat realitzat
link: Tens delegacions disponibles
link: 👉Tens delegacions disponibles
delegations_authorizer:
email: Estem utilitzant el correu electrònic %{email} per verificar la vostra identitat. Si creieu que això està malament, poseu-vos en contacte amb nosaltres.
no_setting: No s'ha trobat cap grup de delegació per a aquesta consulta. Poseu-vos en contacte amb l'administrador per solucionar-ho.
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ en:
reach out if it's not correct.
delegations:
has_delegations: Delegate vote made
link: You have delegations granted
link: 👉You have delegations granted
delegations_authorizer:
email: We are using the email %{email} to verify your identity. If you think
this is wrong, please contact us.
Expand Down
2 changes: 1 addition & 1 deletion config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ es:
phone_warning: Este número de teléfono ha sido importado por el administrador. Por favor, contacta si no es correcto.
delegations:
has_delegations: Voto delegado realizado
link: Tienes delegaciones concedidas
link: 👉Tienes delegaciones concedidas
delegations_authorizer:
email: Estamos utilizando el correo electrónico %{email} para verificar su identidad. Si cree que esto está mal, póngase en contacto con nosotros.
no_setting: No se encontró ningún grupo de delegación para esta consulta. Póngase en contacto con el administrador para solucionarlo.
Expand Down

0 comments on commit d67d1cc

Please sign in to comment.