Adds styles for verification account process

This commit is contained in:
Alberto Garcia Cabeza
2015-09-02 12:34:08 +02:00
parent 650f95ea21
commit da86c5d6e0
14 changed files with 375 additions and 168 deletions

View File

@@ -16,6 +16,7 @@
// 14. Tables // 14. Tables
// 15. Social // 15. Social
// 16. Pages // 16. Pages
// 17. Verification
// //
// 01. Variables // 01. Variables
@@ -126,6 +127,7 @@ h6 {
} }
.button { .button {
font-size: rem-calc(13);
padding: rem-calc(15) rem-calc(32); padding: rem-calc(15) rem-calc(32);
} }
@@ -221,6 +223,11 @@ h6 {
} }
} }
.progress {
background-color: rgba(0,0,0,.06);
border: 0;
}
// 04. Header // 04. Header
// - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -841,22 +848,8 @@ form {
margin-right: rem-calc(12); margin-right: rem-calc(12);
} }
.date {
select {
float: left;
width: 25%;
}
}
.verify-account { .verify-account {
padding-right: rem-calc(12); padding-right: rem-calc(12);
.verified {
color: $check;
font-weight: bold;
line-height: rem-calc(42);
}
} }
} }
@@ -1141,7 +1134,91 @@ table {
} }
} }
// 17. Verification
// - - - - - - - - - - - - - - - - - - - - - - - - -
.verification {
min-height: 60%;
@media (min-width: $small-breakpoint) {
.left + .left {
margin-left: rem-calc(12);
}
}
.verify-account {
padding-right: rem-calc(12);
.verified {
color: $check;
font-weight: bold;
line-height: rem-calc(42);
}
}
.date {
select {
float: left;
width: 30%;
@media (min-width: $small-breakpoint) {
width: 25%;
}
}
}
.progress {
height: rem-calc(48);
@media (min-width: $small-breakpoint) {
height: rem-calc(24);
}
.meter {
background: #63D1C4;
}
}
.verification-step {
font-size: rem-calc(11);
padding-top: rem-calc(10);
@media (min-width: $small-breakpoint) {
line-height: $line-height;
padding-top: 0;
}
&.active {
color: white;
}
&.completed {
color: rgba(255,255,255,.5);
}
}
.send-letter {
background: none;
color: $link;
&:hover {
color: $link-hover;
}
}
.button + form {
display: inline-block;
margin-left: rem-calc(12);
}
.verification-list {
font-size: rem-calc(13);
list-style-type: none;
margin-left: 0;
span {
display: inline-block;
}
}
}

View File

@@ -26,7 +26,7 @@ class Verification::LetterController < ApplicationController
def verify_phone_or_email! def verify_phone_or_email!
unless current_user.confirmed_phone? unless current_user.confirmed_phone?
redirect_to verified_user_path, alert: t('verification.letter.alert.unconfirmed_personal_data') redirect_to verified_user_path, alert: t('verification.letter.alert.unconfirmed_code')
end end
end end
end end

View File

@@ -1,21 +1,26 @@
<div class="row account"> <div class="row account">
<div class="small-12 column"> <div class="small-12 column">
<%= link_to t("account.show.change_credentials_link"), edit_user_registration_path, class: 'button radius small secondary right' %> <%= link_to t("account.show.change_credentials_link"), edit_user_registration_path, class: "button radius small secondary right" %>
<div class="verification">
<span class="right verify-account"> <span class="right verify-account">
<% if current_user.level_three_verified? %> <% if current_user.level_three_verified? %>
<p class="verified"><%= t("account.show.level_three_user") %></p> <p class="verified">
<i class="icon-check"></i>
<%= t("account.show.verified_account") %>
</p>
<% elsif current_user.level_two_verified? %> <% elsif current_user.level_two_verified? %>
<p class="verified"><%= t("account.show.level_two_user") %></p> <%= link_to t("account.show.finish_verification"), new_letter_path, class: "button radius small success right" %>
<% else %> <% else %>
<%= link_to t("account.show.verify_my_account"), new_residence_path, class: 'button radius small success right' %> <%= link_to t("account.show.verify_my_account"), new_residence_path, class: "button radius small success right" %>
<% end %> <% end %>
</span> </span>
</div>
<h1 class="inline-block"><%= t("account.show.title") %></h1> <h1 class="inline-block"><%= t("account.show.title") %></h1>
<%= form_for @account, as: :account, url: account_path do |f| %> <%= form_for @account, as: :account, url: account_path do |f| %>
<%= render 'shared/errors', resource: @account %> <%= render "shared/errors", resource: @account %>
<div class="row"> <div class="row">
<div class="small-12 column"> <div class="small-12 column">

View File

@@ -1,15 +1,49 @@
<div class="row account"> <div class="verification account row">
<div class="small-12 column"> <div class="small-12 column">
<h1 class="inline-block"><%= t('verification.letter.new.title') %></h1> <div class="text-center">
<div class="small-4 column verification-step completed">
<div> <%= t("verification.step_1") %>
<%= t('verification.letter.new.explanation') %>
</div> </div>
<div class="small-4 column verification-step completed">
<%= t("verification.step_2") %>
</div>
<div class="small-4 column verification-step active">
<%= t("verification.step_3") %>
</div>
<div class="progress small-12 success round">
<span class="meter" style="width: 100%"></span>
</div>
</div>
<div class="small-12 medium-12 column">
<h1 class="inline-block"><%= t("verification.letter.new.title") %></h1>
<%= t("verification.letter.new.explanation_html") %>
<%= link_to t("verification.letter.new.offices"), t("verification.letter.new.offices_url"),
target: "_blank", class: "button radius inline-block"
%>
<%= form_for @letter, as: "letter", url: letter_path do |f| %> <%= form_for @letter, as: "letter", url: letter_path do |f| %>
<%= render 'shared/errors', resource: @letter %> <%= render "shared/errors", resource: @letter %>
<%= f.submit t('verification.letter.new.submit_button') %> <%= f.submit t("verification.letter.new.send_letter"), class: "button radius secondary inline-block" %>
<% end %>
<!-- Show this if user clics on 'Send me a letter' -->
<div class="alert-box success radius">
Gracias por solicitar tu código de máxima seguridad, en unos días te lo enviaremos a la dirección que figura en tus datos del padrón. Recuerda que puedes ahorrar el envío recogiendo tu código en cualquiera de las Oficinas de Atención al Ciudadano.
</div>
<div class="small-12 medium-6">
<%= form_tag do %>
<%= label_tag t("verification.letter.new.introduce_code") %>
<%= text_field_tag(:q) %>
<%= submit_tag t("verification.letter.new.send_code"), class: "button radius success" %>
<% end %> <% end %>
</div> </div>
<!-- /. Show this if user clics on 'Send me a letter' -->
</div>
</div>
</div> </div>

View File

@@ -1,12 +1,12 @@
<% if @residence.errors[:residence_in_madrid].present? %> <% if @residence.errors[:residence_in_madrid].present? %>
<div id="error_explanation" class="alert-box alert radius"> <div id="error_explanation" class="alert-box alert radius">
<%= t('verification.residence.new.error_verifying_census') %> <%= t("verification.residence.new.error_verifying_census") %>
<%= mail_to "tec.gobiernoabierto@madrid.es" %> <%= mail_to "web.gobiernoabierto@madrid.es" %>
</div> </div>
<% else %> <% else %>
<%= render 'shared/errors', <%= render "shared/errors",
resource: @residence, resource: @residence,
message: t('verification.residence.new.form_errors') %> message: t("verification.residence.new.form_errors") %>
<% end %> <% end %>

View File

@@ -1,37 +1,63 @@
<div class="row account"> <div class="verification account row">
<div class="small-12 column"> <div class="small-12 column">
<h1 class="inline-block"><%= t('verification.residence.new.title') %></h1> <div class="text-center">
<div class="small-4 column verification-step active">
<%= t("verification.step_1") %>
</div>
<div class="small-4 column verification-step">
<%= t("verification.step_2") %>
</div>
<div class="small-4 column verification-step">
<%= t("verification.step_3") %>
</div>
</div>
<div class="progress small-12 success round">
<span class="meter" style="width: 33%"></span>
</div>
<h1 class="inline-block"><%= t("verification.residence.new.title") %></h1>
<%= form_for @residence, as: "residence", url: residence_path do |f| %> <%= form_for @residence, as: "residence", url: residence_path do |f| %>
<%= render 'errors' %> <%= render "errors" %>
<div class="small-12 medium-6"> <div class="small-12 medium-8">
<div class="small-6 medium-3"> <div class="small-12 medium-4 left">
<%= f.select :document_type, document_types, prompt: "" %> <%= f.label t("verification.residence.new.document_type_label") %>
<%= f.select :document_type, document_types, prompt: "", label: false %>
</div> </div>
<div class="small-6 medium-8"> <div class="small-12 medium-5 left">
<%= f.text_field :document_number %> <%= f.label t("verification.residence.new.document_number") %>
<%= f.text_field :document_number, label: false %>
</div> </div>
</div> </div>
<div class="date small-12 medium-6"> <div class="date small-12 medium-6 clear">
<%= f.label t("verification.residence.new.date_of_birth") %>
<%= f.date_select :date_of_birth, <%= f.date_select :date_of_birth,
prompt: true, prompt: true,
start_year: 1900, end_year: 16.years.ago.year %> start_year: 1900, end_year: 16.years.ago.year,
label: false %>
</div> </div>
<div class="small-12 medium-4 clear"> <div class="small-12 medium-4 clear">
<%= f.text_field :postal_code %> <%= f.label t("verification.residence.new.postal_code") %>
<%= f.text_field :postal_code, label: false %>
</div> </div>
<div class="small-12"> <div class="small-12">
<%= f.check_box :terms_of_service, label: t("verification.residence.new.accept_terms_text") %> <%= f.check_box :terms_of_service, label: false %>
<%= link_to t("verification.residence.new.accept_terms_link"), '/census_terms', target: "_blank" %> <%= f.label :terms_of_service do %>
<%= t("verification.residence.new.accept_terms_text",
terms_url: link_to(t("verification.residence.new.terms"), "/census_terms",
target: "_blank")).html_safe
%>
<% end %>
</div> </div>
<div class="small-12 clear"> <div class="small-12 clear">
<%= f.submit "Verify" %> <%= f.submit t("verification.residence.new.verify_residence") %>
</div> </div>
<% end %> <% end %>
</div> </div>

View File

@@ -1,16 +1,38 @@
<div class="row account"> <div class="verification account row">
<div class="small-12 column"> <div class="small-12 column">
<div class="text-center">
<h1 class="inline-block"><%= t('verification.sms.edit.title') %></h1> <div class="small-4 column verification-step completed">
<%= t("verification.step_1") %>
</div>
<div class="small-4 column verification-step active">
<%= t("verification.step_2") %>
</div>
<div class="small-4 column verification-step">
<%= t("verification.step_3") %>
</div>
</div>
<div class="progress small-12 success round">
<span class="meter" style="width: 66%"></span>
</div>
<h1 class="inline-block"><%= t("verification.sms.edit.title") %></h1>
<%= form_for @sms, as: "sms", url: sms_path, method: :put do |f| %> <%= form_for @sms, as: "sms", url: sms_path, method: :put do |f| %>
<p><%= @error %></p> <% if @error %>
<%= f.text_field :confirmation_code %> <div class="alert-box alert radius"><%= @error %></div>
<%= f.submit t('verification.sms.edit.submit_button') %>
<% end %> <% end %>
<%= t('verification.sms.edit.resend_sms_text') %> <div class="small-12 medium-6">
<%= link_to t('verification.sms.edit.resend_sms_link'), verified_user_path %> <%= f.label t("verification.sms.edit.confirmation_code") %>
<%= f.text_field :confirmation_code, label: false %>
</div>
<%= f.submit t("verification.sms.edit.submit_button") %>
<% end %>
<%= t("verification.sms.edit.resend_sms_text") %>
<%= link_to t("verification.sms.edit.resend_sms_link"), verified_user_path %>
</div> </div>
</div> </div>

View File

@@ -1,14 +1,33 @@
<div class="row account"> <div class="verification account row">
<div class="small-12 column"> <div class="small-12 column">
<div class="text-center">
<h1 class="inline-block"><%= t('verification.sms.new.title') %></h1> <div class="small-4 column verification-step completed">
<%= t("verification.step_1") %>
</div>
<div class="small-4 column verification-step active">
<%= t("verification.step_2") %>
</div>
<div class="small-4 column verification-step">
<%= t("verification.step_3") %>
</div>
</div>
<div class="progress small-12 success round">
<span class="meter" style="width: 66%"></span>
</div>
<h1 class="inline-block"><%= t("verification.sms.new.title") %></h1>
<%= form_for @sms, as: "sms", url: sms_path do |f| %> <%= form_for @sms, as: "sms", url: sms_path do |f| %>
<%= render 'shared/errors', resource: @sms %> <%= render "shared/errors", resource: @sms %>
<%= f.text_field :phone %> <div class="small-12 medium-6">
<%= f.label t("verification.sms.new.phone") %>
<%= f.text_field :phone, label: false %>
</div>
<%= f.submit t('verification.sms.new.submit_button') %> <%= f.submit t("verification.sms.new.submit_button") %>
<% end %> <% end %>
</div> </div>
</div> </div>

View File

@@ -1,4 +1,4 @@
<%= form_for verified_user, url: url, method: :post do |f| %> <%= form_for verified_user, url: url, method: :post do |f| %>
<%= f.hidden_field :id %> <%= f.hidden_field :id %>
<%= f.submit t('verification.verified_user.form.submit_button') %> <%= f.submit t("verification.verified_user.form.submit_button"), class: "button radius success tiny" %>
<% end %> <% end %>

View File

@@ -1,48 +1,40 @@
<div class="row account"> <div class="verification account row">
<div class="small-12 column"> <div class="small-12 column">
<h1 class="inline-block"><%= t('verification.verified_user.show.title') %></h1> <h1 class="inline-block"><%= t("verification.verified_user.show.title") %></h1>
<p><%= t("verification.verified_user.show.explanation") %></p>
<% if @verified_users.map(&:email).any? %> <% if @verified_users.map(&:email).any? %>
<div><strong><%= t('verification.verified_user.show.email_title') %></strong></div> <h2><%= t("verification.verified_user.show.email_title") %></h2>
<ul> <ul class="verification-list">
<% @verified_users.each do |verified_user| %> <% @verified_users.each do |verified_user| %>
<% if verified_user.email.present? %> <% if verified_user.email.present? %>
<li id="<%= dom_id(verified_user) %>_email" style="float:left"> <li id="<%= dom_id(verified_user) %>_email">
<span style="float:left"> <span><%= mask_email(verified_user.email) %></span>
<%= mask_email(verified_user.email) %> <span><%= render "form", url: email_path, verified_user: verified_user %></span>
</span>
<span style="float:left;padding-left:30px">
<%= render 'form', url: email_path, verified_user: verified_user %>
</span>
</li> </li>
<br/><br/><br/>
<% end %> <% end %>
<% end %> <% end %>
</ul> </ul>
<% end %> <% end %>
<% if @verified_users.map(&:phone).any? %> <% if @verified_users.map(&:phone).any? %>
<div><strong><%= t('verification.verified_user.show.phone_title') %></strong></div> <h2><%= t("verification.verified_user.show.phone_title") %></h2>
<ul style="padding-top:40px"> <ul class="verification-list">
<% @verified_users.each do |verified_user| %> <% @verified_users.each do |verified_user| %>
<% if verified_user.phone.present? %> <% if verified_user.phone.present? %>
<li id="<%= dom_id(verified_user) %>_phone" style="float:left"> <li id="<%= dom_id(verified_user) %>_phone" style="float:left">
<span style="float:left"> <span><%= mask_phone(verified_user.phone) %></span>
<%= mask_phone(verified_user.phone) %> <span><%= render "form", url: sms_path, verified_user: verified_user %></span>
</span>
<span style="float:left;padding-left:30px">
<%= render 'form', url: sms_path, verified_user: verified_user %>
</span>
</li> </li>
<br/><br/><br/>
<% end %> <% end %>
<% end %> <% end %>
</ul> </ul>
<% end %> <% end %>
<div style="margin-top: 30px"> <div class="margin clear">
<%= link_to t('verification.verified_user.show.use_another_phone'), new_sms_path %> <%= link_to t("verification.verified_user.show.use_another_phone"), new_sms_path %>
</div> </div>
</div> </div>

View File

@@ -157,8 +157,8 @@ en:
phone_number_label: "Phone number" phone_number_label: "Phone number"
organization_name_label: "Organization name" organization_name_label: "Organization name"
notifications: Notifications notifications: Notifications
level_two_user: You are a level 2 user finish_verification: "Finish verification"
level_three_user: You are a level 3 user verified_account: Verified account
verify_my_account: Verify my account verify_my_account: Verify my account
simple_captcha: simple_captcha:
placeholder: "Enter the image value" placeholder: "Enter the image value"

View File

@@ -157,8 +157,8 @@ es:
phone_number_label: "Teléfono" phone_number_label: "Teléfono"
organization_name_label: "Nombre de la organización" organization_name_label: "Nombre de la organización"
notifications: Notificaciones notifications: Notificaciones
level_two_user: Eres un usuario verificado de nivel 2 finish_verification: "Finalizar verificación"
level_three_user: Eres un usuario verificado de nivel 3 verified_account: Cuenta verificada
verify_my_account: Verificar mi cuenta verify_my_account: Verificar mi cuenta
simple_captcha: simple_captcha:
placeholder: "Introduce el texto de la imagen" placeholder: "Introduce el texto de la imagen"

View File

@@ -1,49 +1,59 @@
en: en:
verification: verification:
step_1: "1. Residence"
step_2: "2. Confirmation code"
step_3: "3. Final verification"
residence: residence:
new: new:
title: 'Verify residence' title: "Verify residence"
document_type_label: "Document type"
document_type: document_type:
spanish_id: 'Spanish ID' spanish_id: "Spanish ID"
passport: 'Passport' passport: "Passport"
residence_card: 'Residence card' residence_card: "Residence card"
accept_terms_text: "I accept the terms to access the city Census" document_number: "Document number"
accept_terms_link: "Read terms" date_of_birth: "Date of birth"
form_errors: 'prevented your residence verification' postal_code: "Postal code"
error_verifying_census: 'The census of the city of Madrid could not verify your information. Pero revise de information and try again or get in touch with us.' accept_terms_text: "I accept %{terms_url} to access the city Census"
terms: "the terms"
verify_residence: "Verify residence"
form_errors: "prevented your residence verification"
error_verifying_census: "The census of the city of Madrid could not verify your information. Pero revise de information and try again or get in touch with us."
create: create:
flash: flash:
success: 'Residence verified' success: "Residence verified"
alert: alert:
verify_attemps_left: 'You have reached the maximum number of Census verification tries' verify_attemps_left: "You have reached the maximum number of Census verification tries"
unconfirmed_residency: 'You have not yet confirmed your residence' unconfirmed_residency: "You have not yet confirmed your residence"
sms: sms:
new: new:
title: Phone verification title: "Phone verification"
submit_button: Send phone: "Enter your phone for recive the code"
submit_button: "Send"
create: create:
flash: flash:
success: 'Enter the confirmation code we have sent your phone' success: "Enter the confirmation code we have sent your phone"
edit: edit:
title: Security code confirmation title: "Security code confirmation"
resend_sms_text: You have not received the confirmation code in your phone? confirmation_code: "Code confirmation"
resend_sms_link: Click here to send the confirmation code again resend_sms_text: "You have not received the confirmation code in your phone?"
submit_button: Send resend_sms_link: "Click here to send the confirmation code again"
submit_button: "Send"
update: update:
error: 'Incorrect confirmation code' error: "Incorrect confirmation code"
flash: flash:
level_three: level_three:
success: 'Correct code. You are now a verified user' success: "Correct code. Your account is verified"
level_two: level_two:
success: 'Correct code' success: "Correct code"
alert: alert:
verify_attemps_left: 'You have reached the maximum number of sms verification tries' verify_attemps_left: "You have reached the maximum number of sms verification tries"
email: email:
show: show:
flash: flash:
success: 'You are now a verified user' success: "You are now a verified user"
alert: alert:
failure: 'Incorrect verification code' failure: "Incorrect verification code"
create: create:
flash: flash:
success: "We have send you a confirmation email to your email account: %{email}" success: "We have send you a confirmation email to your email account: %{email}"
@@ -51,21 +61,27 @@ en:
failure: "There was a problem sending you an email to your account" failure: "There was a problem sending you an email to your account"
letter: letter:
new: new:
title: Final Verification title: "Final Verification"
explanation: 'To completely verify your account we need to go to one of these offices or send you a letter with a special code to your home address' explanation_html:
submit_button: 'Send me a letter' "<p>Congratulations! You can now participate in discussions or support proposals of others.</p><p>To finish we need to verify your account completely provide you with a <b>maximum security code</b>, we ensure that no one is using your data on your behalf.</p><p>This requirement is essential to participate in final votes on motions. This can approach any <b>Office of Citizen</b> where you will verify in person, or in case you is impossible, we can send you a letter home with the code.</p>"
offices: "See Office of Citizen"
offices_url: "http://www.madrid.es/portales/munimadrid/es/Inicio/El-Ayuntamiento/Atencion-al-ciudadano/Oficinas-de-Atencion-al-Ciudadano?vgnextfmt=default&vgnextchannel=5b99cde2e09a4310VgnVCM1000000b205a0aRCRD"
send_letter: "Send me a letter with the code"
introduce_code: "Enter the security code"
send_code: "Send"
create: create:
flash: flash:
success: "You will receive a letter to your home address in the next couple of days" success: "Thank you for requesting a code maximum security in a few days we will send it to the address on your census data. Remember that you can save shipping collecting your code in any of the Office of Citizen Services."
alert: alert:
failure: "We could not verify your address with the Census please try again later" failure: "We could not verify your address with the Census please try again later"
alert: alert:
unconfirmed_personal_data: 'You have not yet confirmed your personal data' unconfirmed_code: "You have not yet enter the confirmation code"
verified_user: verified_user:
show: show:
title: Available information title: "Available information"
email_title: Emails explanation: "We currently have the following data in the Census, choose where you want to send the confirmation code."
phone_title: Phones email_title: "Emails"
use_another_phone: Use another phone phone_title: "Phones"
use_another_phone: "Use another phone"
form: form:
submit_button: Send submit_button: "Send code"

View File

@@ -1,49 +1,59 @@
es: es:
verification: verification:
step_1: "1. Residencia"
step_2: "2. Código de confirmación"
step_3: "3. Verificación final"
residence: residence:
new: new:
title: 'Verificar residencia' title: "Verificar residencia"
document_type_label: "Tipo de documento"
document_type: document_type:
spanish_id: 'DNI' spanish_id: "DNI"
passport: 'Pasaporte' passport: "Pasaporte"
residence_card: 'Tarjeta de residencia' residence_card: "Tarjeta de residencia"
accept_terms_text: "Acepto los terminos de acceso al Padrón" document_number: "Número de documento"
accept_terms_link: "Leer términos" date_of_birth: "Fecha de nacimiento"
form_errors: 'evitaron verificar tu residencia' postal_code: "Código postal"
error_verifying_census: 'El Padrón de Madrid no pudo verificar tu información. Revisa la información ó ponte en contacto con nosotros.' accept_terms_text: "Acepto %{terms_url} al Padrón"
terms: "los terminos de acceso"
verify_residence: "Verificar residencia"
form_errors: "evitaron verificar tu residencia"
error_verifying_census: "El Padrón de Madrid no pudo verificar tu información. Revisa la información ó ponte en contacto con nosotros."
create: create:
flash: flash:
success: 'Residencia verificada' success: "Residencia verificada"
alert: alert:
verify_attemps_left: 'Has llegado al máximo número de intentos de verificar tu residencia.' verify_attemps_left: "Has llegado al máximo número de intentos de verificar tu residencia."
unconfirmed_residency: 'Aún no has verificado tu residencia' unconfirmed_residency: "Aún no has verificado tu residencia"
sms: sms:
new: new:
title: Verificación de teléfono móvil title: "Recibir código de confirmación"
submit_button: Enviar phone: "Introduce tu teléfono móvil para recibir el código"
submit_button: "Enviar"
create: create:
flash: flash:
success: 'Introduce el código de confirmación que te hemos enviado por mensaje de texto' success: "Introduce el código de confirmación que te hemos enviado por mensaje de texto"
edit: edit:
title: 'Confirmación de código de seguridad' title: "Confirmación de código de seguridad"
resend_sms_text: '¿No has recibido un mensaje de texto con tu código de confirmación?' confirmation_code: "Introduce el código que has recibido en tu móvil"
resend_sms_link: 'Haz click aquí para volver a enviártelo' resend_sms_text: "¿No has recibido un mensaje de texto con tu código de confirmación?"
submit_button: Enviar resend_sms_link: "Haz click aquí para volver a enviártelo"
submit_button: "Enviar"
update: update:
error: 'Código de confirmación incorrecto' error: "Código de confirmación incorrecto"
flash: flash:
level_three: level_three:
success: 'Código correcto. Ya eres un usuario verificado' success: "Código correcto. Tu cuenta ya está verificada"
level_two: level_two:
success: 'Código incorrecto' success: "Código correcto"
alert: alert:
verify_attemps_left: 'Has llegado al máximo número de intentos de verificar tu teléfono.' verify_attemps_left: "Has llegado al máximo número de intentos de verificar tu teléfono."
email: email:
show: show:
flash: flash:
success: 'Eres un usuario verificado' success: "Eres un usuario verificado"
alert: alert:
failure: 'Código de verificación incorrecto' failure: "Código de verificación incorrecto"
create: create:
flash: flash:
success: "Te hemos enviado un email de confirmación a tu cuenta: %{email}" success: "Te hemos enviado un email de confirmación a tu cuenta: %{email}"
@@ -51,21 +61,27 @@ es:
failure: "Hubo un problema enviándote un email a tu cuenta" failure: "Hubo un problema enviándote un email a tu cuenta"
letter: letter:
new: new:
title: Final Verification title: "Verificación Final"
explanation: 'To completely verify your account we need to go to one of these offices or send you a letter with a special code to your home address' explanation_html:
submit_button: 'Send me a letter' "<p>¡Felicidades! Ya puedes participar en debates o apoyar propuestas de otras personas.</p><p>Para terminar de verificar tu cuenta completamente necesitamos proporcionarte un <b>código de máxima seguridad</b>, que nos asegure que nadie está utilizando tus datos en tu nombre.</p><p>Este requerimiento es esencial para participar en las votaciones finales de las propuestas. Para ello puedes acercarte a cualquier <b>Oficina de Atención al Ciudadano</b> donde te verificarán presencialmente, o en caso de que te sea imposible, podemos mandarte una carta a casa con el código.</p>"
offices: "Ver Oficinas de Atención al Ciudadano"
offices_url: "http://www.madrid.es/portales/munimadrid/es/Inicio/El-Ayuntamiento/Atencion-al-ciudadano/Oficinas-de-Atencion-al-Ciudadano?vgnextfmt=default&vgnextchannel=5b99cde2e09a4310VgnVCM1000000b205a0aRCRD"
send_letter: "Enviarme una carta con el código"
introduce_code: "Introduce el código de seguridad"
send_code: "Enviar"
create: create:
flash: flash:
success: "You will receive a letter to your home address in the next couple of days" success: "Gracias por solicitar tu código de máxima seguridad, en unos días te lo enviaremos a la dirección que figura en tus datos del padrón. Recuerda que puedes ahorrar el envío recogiendo tu código en cualquiera de las Oficinas de Atención al Ciudadano."
alert: alert:
failure: "We could not verify your address with the Census please try again later" failure: "No podemos verificar tu dirección con el Padrón, por favor inténtalo otra vez más tarde"
alert: alert:
unconfirmed_personal_data: 'You have not yet confirmed your personal data' unconfirmed_code: "Todavía no has introducido el código de confirmación"
verified_user: verified_user:
show: show:
title: Información disponible title: "Información disponible"
email_title: Emails explanation: "Actualmente disponemos de los siguientes datos en el Padrón, selecciona donde quieres que enviemos el código de confirmación."
phone_title: Teléfonos email_title: "Emails"
use_another_phone: Utilizar otro teléfono phone_title: "Teléfonos"
use_another_phone: "Utilizar otro teléfono"
form: form:
submit_button: Enviar submit_button: "Enviar código"