Show warning if phase is not open
This commit is contained in:
@@ -17,4 +17,8 @@
|
||||
signin: link_to(t("legislation.questions.participation.signin"), new_user_session_path),
|
||||
signup: link_to(t("legislation.questions.participation.signup"), new_user_registration_path)).html_safe %>
|
||||
</div>
|
||||
<% elsif !@process.open_phase?(:debate) %>
|
||||
<div class="participation-not-allowed" style='display:none' aria-hidden="false">
|
||||
<%= t("legislation.questions.participation.debate_phase_not_open") %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
@@ -295,6 +295,7 @@ en:
|
||||
unauthenticated: You must %{signin} or %{signup} to participate.
|
||||
verified_only: Only verified users can participate, %{verify_account}.
|
||||
verify_account: verify your account
|
||||
debate_phase_not_open: Debate phase has finished and answers are not accepted anymore
|
||||
locale: English
|
||||
notifications:
|
||||
index:
|
||||
|
||||
@@ -295,6 +295,7 @@ es:
|
||||
unauthenticated: Necesitas %{signin} o %{signup} para participar en el debate.
|
||||
verified_only: Solo los usuarios verificados pueden participar en el debate, %{verify_account}.
|
||||
verify_account: verifica tu cuenta
|
||||
debate_phase_not_open: La fase de debate previo ya ha finalizado y en este momento no se aceptan respuestas
|
||||
locale: Español
|
||||
notifications:
|
||||
index:
|
||||
|
||||
Reference in New Issue
Block a user