Adds styles for verification account process
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
// 14. Tables
|
||||
// 15. Social
|
||||
// 16. Pages
|
||||
// 17. Verification
|
||||
//
|
||||
|
||||
// 01. Variables
|
||||
@@ -126,6 +127,7 @@ h6 {
|
||||
}
|
||||
|
||||
.button {
|
||||
font-size: rem-calc(13);
|
||||
padding: rem-calc(15) rem-calc(32);
|
||||
}
|
||||
|
||||
@@ -221,6 +223,11 @@ h6 {
|
||||
}
|
||||
}
|
||||
|
||||
.progress {
|
||||
background-color: rgba(0,0,0,.06);
|
||||
border: 0;
|
||||
}
|
||||
|
||||
// 04. Header
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
@@ -841,22 +848,8 @@ form {
|
||||
margin-right: rem-calc(12);
|
||||
}
|
||||
|
||||
.date {
|
||||
|
||||
select {
|
||||
float: left;
|
||||
width: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
.verify-account {
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ class Verification::LetterController < ApplicationController
|
||||
|
||||
def verify_phone_or_email!
|
||||
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
|
||||
@@ -1,21 +1,26 @@
|
||||
<div class="row account">
|
||||
<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" %>
|
||||
|
||||
<span class="right verify-account">
|
||||
<% if current_user.level_three_verified? %>
|
||||
<p class="verified"><%= t("account.show.level_three_user") %></p>
|
||||
<% elsif current_user.level_two_verified? %>
|
||||
<p class="verified"><%= t("account.show.level_two_user") %></p>
|
||||
<% else %>
|
||||
<%= link_to t("account.show.verify_my_account"), new_residence_path, class: 'button radius small success right' %>
|
||||
<% end %>
|
||||
</span>
|
||||
<div class="verification">
|
||||
<span class="right verify-account">
|
||||
<% if current_user.level_three_verified? %>
|
||||
<p class="verified">
|
||||
<i class="icon-check"></i>
|
||||
<%= t("account.show.verified_account") %>
|
||||
</p>
|
||||
<% elsif current_user.level_two_verified? %>
|
||||
<%= link_to t("account.show.finish_verification"), new_letter_path, class: "button radius small success right" %>
|
||||
<% else %>
|
||||
<%= link_to t("account.show.verify_my_account"), new_residence_path, class: "button radius small success right" %>
|
||||
<% end %>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<h1 class="inline-block"><%= t("account.show.title") %></h1>
|
||||
|
||||
<%= 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="small-12 column">
|
||||
|
||||
@@ -1,15 +1,49 @@
|
||||
<div class="row account">
|
||||
<div class="verification account row">
|
||||
<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">
|
||||
<%= t("verification.step_1") %>
|
||||
</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>
|
||||
<%= t('verification.letter.new.explanation') %>
|
||||
<div class="progress small-12 success round">
|
||||
<span class="meter" style="width: 100%"></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= form_for @letter, as: "letter", url: letter_path do |f| %>
|
||||
<%= render 'shared/errors', resource: @letter %>
|
||||
<%= f.submit t('verification.letter.new.submit_button') %>
|
||||
<% end %>
|
||||
<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| %>
|
||||
<%= render "shared/errors", resource: @letter %>
|
||||
<%= 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 %>
|
||||
</div>
|
||||
<!-- /. Show this if user clics on 'Send me a letter' -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,12 +1,12 @@
|
||||
<% if @residence.errors[:residence_in_madrid].present? %>
|
||||
|
||||
<div id="error_explanation" class="alert-box alert radius">
|
||||
<%= t('verification.residence.new.error_verifying_census') %>
|
||||
<%= mail_to "tec.gobiernoabierto@madrid.es" %>
|
||||
<%= t("verification.residence.new.error_verifying_census") %>
|
||||
<%= mail_to "web.gobiernoabierto@madrid.es" %>
|
||||
</div>
|
||||
|
||||
<% else %>
|
||||
<%= render 'shared/errors',
|
||||
<%= render "shared/errors",
|
||||
resource: @residence,
|
||||
message: t('verification.residence.new.form_errors') %>
|
||||
message: t("verification.residence.new.form_errors") %>
|
||||
<% end %>
|
||||
@@ -1,37 +1,63 @@
|
||||
<div class="row account">
|
||||
<div class="verification account row">
|
||||
<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| %>
|
||||
<%= render 'errors' %>
|
||||
<%= render "errors" %>
|
||||
|
||||
<div class="small-12 medium-6">
|
||||
<div class="small-6 medium-3">
|
||||
<%= f.select :document_type, document_types, prompt: "" %>
|
||||
<div class="small-12 medium-8">
|
||||
<div class="small-12 medium-4 left">
|
||||
<%= f.label t("verification.residence.new.document_type_label") %>
|
||||
<%= f.select :document_type, document_types, prompt: "", label: false %>
|
||||
</div>
|
||||
<div class="small-6 medium-8">
|
||||
<%= f.text_field :document_number %>
|
||||
<div class="small-12 medium-5 left">
|
||||
<%= f.label t("verification.residence.new.document_number") %>
|
||||
<%= f.text_field :document_number, label: false %>
|
||||
</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,
|
||||
prompt: true,
|
||||
start_year: 1900, end_year: 16.years.ago.year %>
|
||||
start_year: 1900, end_year: 16.years.ago.year,
|
||||
label: false %>
|
||||
</div>
|
||||
|
||||
<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 class="small-12">
|
||||
<%= f.check_box :terms_of_service, label: t("verification.residence.new.accept_terms_text") %>
|
||||
<%= link_to t("verification.residence.new.accept_terms_link"), '/census_terms', target: "_blank" %>
|
||||
<%= f.check_box :terms_of_service, label: false %>
|
||||
<%= 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 class="small-12 clear">
|
||||
<%= f.submit "Verify" %>
|
||||
<%= f.submit t("verification.residence.new.verify_residence") %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
@@ -1,16 +1,38 @@
|
||||
<div class="row account">
|
||||
<div class="verification account row">
|
||||
<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| %>
|
||||
<p><%= @error %></p>
|
||||
<%= f.text_field :confirmation_code %>
|
||||
<% if @error %>
|
||||
<div class="alert-box alert radius"><%= @error %></div>
|
||||
<% end %>
|
||||
|
||||
<%= f.submit t('verification.sms.edit.submit_button') %>
|
||||
<div class="small-12 medium-6">
|
||||
<%= 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 %>
|
||||
<%= t("verification.sms.edit.resend_sms_text") %>
|
||||
<%= link_to t("verification.sms.edit.resend_sms_link"), verified_user_path %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,14 +1,33 @@
|
||||
<div class="row account">
|
||||
<div class="verification account row">
|
||||
<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| %>
|
||||
<%= 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 %>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,4 +1,4 @@
|
||||
<%= form_for verified_user, url: url, method: :post do |f| %>
|
||||
<%= 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 %>
|
||||
@@ -1,48 +1,40 @@
|
||||
<div class="row account">
|
||||
<div class="verification account row">
|
||||
<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? %>
|
||||
<div><strong><%= t('verification.verified_user.show.email_title') %></strong></div>
|
||||
<ul>
|
||||
<h2><%= t("verification.verified_user.show.email_title") %></h2>
|
||||
<ul class="verification-list">
|
||||
<% @verified_users.each do |verified_user| %>
|
||||
<% if verified_user.email.present? %>
|
||||
<li id="<%= dom_id(verified_user) %>_email" style="float:left">
|
||||
<span style="float:left">
|
||||
<%= mask_email(verified_user.email) %>
|
||||
</span>
|
||||
<span style="float:left;padding-left:30px">
|
||||
<%= render 'form', url: email_path, verified_user: verified_user %>
|
||||
</span>
|
||||
<li id="<%= dom_id(verified_user) %>_email">
|
||||
<span><%= mask_email(verified_user.email) %></span>
|
||||
<span><%= render "form", url: email_path, verified_user: verified_user %></span>
|
||||
</li>
|
||||
<br/><br/><br/>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<% if @verified_users.map(&:phone).any? %>
|
||||
<div><strong><%= t('verification.verified_user.show.phone_title') %></strong></div>
|
||||
<ul style="padding-top:40px">
|
||||
<h2><%= t("verification.verified_user.show.phone_title") %></h2>
|
||||
<ul class="verification-list">
|
||||
<% @verified_users.each do |verified_user| %>
|
||||
<% if verified_user.phone.present? %>
|
||||
<li id="<%= dom_id(verified_user) %>_phone" style="float:left">
|
||||
<span style="float:left">
|
||||
<%= mask_phone(verified_user.phone) %>
|
||||
</span>
|
||||
<span style="float:left;padding-left:30px">
|
||||
<%= render 'form', url: sms_path, verified_user: verified_user %>
|
||||
</span>
|
||||
<span><%= mask_phone(verified_user.phone) %></span>
|
||||
<span><%= render "form", url: sms_path, verified_user: verified_user %></span>
|
||||
</li>
|
||||
<br/><br/><br/>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<div style="margin-top: 30px">
|
||||
<%= link_to t('verification.verified_user.show.use_another_phone'), new_sms_path %>
|
||||
<div class="margin clear">
|
||||
<%= link_to t("verification.verified_user.show.use_another_phone"), new_sms_path %>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -157,8 +157,8 @@ en:
|
||||
phone_number_label: "Phone number"
|
||||
organization_name_label: "Organization name"
|
||||
notifications: Notifications
|
||||
level_two_user: You are a level 2 user
|
||||
level_three_user: You are a level 3 user
|
||||
finish_verification: "Finish verification"
|
||||
verified_account: Verified account
|
||||
verify_my_account: Verify my account
|
||||
simple_captcha:
|
||||
placeholder: "Enter the image value"
|
||||
|
||||
@@ -157,8 +157,8 @@ es:
|
||||
phone_number_label: "Teléfono"
|
||||
organization_name_label: "Nombre de la organización"
|
||||
notifications: Notificaciones
|
||||
level_two_user: Eres un usuario verificado de nivel 2
|
||||
level_three_user: Eres un usuario verificado de nivel 3
|
||||
finish_verification: "Finalizar verificación"
|
||||
verified_account: Cuenta verificada
|
||||
verify_my_account: Verificar mi cuenta
|
||||
simple_captcha:
|
||||
placeholder: "Introduce el texto de la imagen"
|
||||
|
||||
@@ -1,49 +1,59 @@
|
||||
en:
|
||||
verification:
|
||||
step_1: "1. Residence"
|
||||
step_2: "2. Confirmation code"
|
||||
step_3: "3. Final verification"
|
||||
residence:
|
||||
new:
|
||||
title: 'Verify residence'
|
||||
title: "Verify residence"
|
||||
document_type_label: "Document type"
|
||||
document_type:
|
||||
spanish_id: 'Spanish ID'
|
||||
passport: 'Passport'
|
||||
residence_card: 'Residence card'
|
||||
accept_terms_text: "I accept the terms to access the city Census"
|
||||
accept_terms_link: "Read terms"
|
||||
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.'
|
||||
spanish_id: "Spanish ID"
|
||||
passport: "Passport"
|
||||
residence_card: "Residence card"
|
||||
document_number: "Document number"
|
||||
date_of_birth: "Date of birth"
|
||||
postal_code: "Postal code"
|
||||
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:
|
||||
flash:
|
||||
success: 'Residence verified'
|
||||
success: "Residence verified"
|
||||
alert:
|
||||
verify_attemps_left: 'You have reached the maximum number of Census verification tries'
|
||||
unconfirmed_residency: 'You have not yet confirmed your residence'
|
||||
verify_attemps_left: "You have reached the maximum number of Census verification tries"
|
||||
unconfirmed_residency: "You have not yet confirmed your residence"
|
||||
sms:
|
||||
new:
|
||||
title: Phone verification
|
||||
submit_button: Send
|
||||
title: "Phone verification"
|
||||
phone: "Enter your phone for recive the code"
|
||||
submit_button: "Send"
|
||||
create:
|
||||
flash:
|
||||
success: 'Enter the confirmation code we have sent your phone'
|
||||
success: "Enter the confirmation code we have sent your phone"
|
||||
edit:
|
||||
title: Security code confirmation
|
||||
resend_sms_text: You have not received the confirmation code in your phone?
|
||||
resend_sms_link: Click here to send the confirmation code again
|
||||
submit_button: Send
|
||||
title: "Security code confirmation"
|
||||
confirmation_code: "Code confirmation"
|
||||
resend_sms_text: "You have not received the confirmation code in your phone?"
|
||||
resend_sms_link: "Click here to send the confirmation code again"
|
||||
submit_button: "Send"
|
||||
update:
|
||||
error: 'Incorrect confirmation code'
|
||||
error: "Incorrect confirmation code"
|
||||
flash:
|
||||
level_three:
|
||||
success: 'Correct code. You are now a verified user'
|
||||
success: "Correct code. Your account is verified"
|
||||
level_two:
|
||||
success: 'Correct code'
|
||||
success: "Correct code"
|
||||
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:
|
||||
show:
|
||||
flash:
|
||||
success: 'You are now a verified user'
|
||||
success: "You are now a verified user"
|
||||
alert:
|
||||
failure: 'Incorrect verification code'
|
||||
failure: "Incorrect verification code"
|
||||
create:
|
||||
flash:
|
||||
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"
|
||||
letter:
|
||||
new:
|
||||
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'
|
||||
submit_button: 'Send me a letter'
|
||||
title: "Final Verification"
|
||||
explanation_html:
|
||||
"<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:
|
||||
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:
|
||||
failure: "We could not verify your address with the Census please try again later"
|
||||
alert:
|
||||
unconfirmed_personal_data: 'You have not yet confirmed your personal data'
|
||||
unconfirmed_code: "You have not yet enter the confirmation code"
|
||||
verified_user:
|
||||
show:
|
||||
title: Available information
|
||||
email_title: Emails
|
||||
phone_title: Phones
|
||||
use_another_phone: Use another phone
|
||||
title: "Available information"
|
||||
explanation: "We currently have the following data in the Census, choose where you want to send the confirmation code."
|
||||
email_title: "Emails"
|
||||
phone_title: "Phones"
|
||||
use_another_phone: "Use another phone"
|
||||
form:
|
||||
submit_button: Send
|
||||
submit_button: "Send code"
|
||||
@@ -1,49 +1,59 @@
|
||||
es:
|
||||
verification:
|
||||
step_1: "1. Residencia"
|
||||
step_2: "2. Código de confirmación"
|
||||
step_3: "3. Verificación final"
|
||||
residence:
|
||||
new:
|
||||
title: 'Verificar residencia'
|
||||
title: "Verificar residencia"
|
||||
document_type_label: "Tipo de documento"
|
||||
document_type:
|
||||
spanish_id: 'DNI'
|
||||
passport: 'Pasaporte'
|
||||
residence_card: 'Tarjeta de residencia'
|
||||
accept_terms_text: "Acepto los terminos de acceso al Padrón"
|
||||
accept_terms_link: "Leer términos"
|
||||
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.'
|
||||
spanish_id: "DNI"
|
||||
passport: "Pasaporte"
|
||||
residence_card: "Tarjeta de residencia"
|
||||
document_number: "Número de documento"
|
||||
date_of_birth: "Fecha de nacimiento"
|
||||
postal_code: "Código postal"
|
||||
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:
|
||||
flash:
|
||||
success: 'Residencia verificada'
|
||||
success: "Residencia verificada"
|
||||
alert:
|
||||
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'
|
||||
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"
|
||||
sms:
|
||||
new:
|
||||
title: Verificación de teléfono móvil
|
||||
submit_button: Enviar
|
||||
title: "Recibir código de confirmación"
|
||||
phone: "Introduce tu teléfono móvil para recibir el código"
|
||||
submit_button: "Enviar"
|
||||
create:
|
||||
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:
|
||||
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?'
|
||||
resend_sms_link: 'Haz click aquí para volver a enviártelo'
|
||||
submit_button: Enviar
|
||||
title: "Confirmación de código de seguridad"
|
||||
confirmation_code: "Introduce el código que has recibido en tu móvil"
|
||||
resend_sms_text: "¿No has recibido un mensaje de texto con tu código de confirmación?"
|
||||
resend_sms_link: "Haz click aquí para volver a enviártelo"
|
||||
submit_button: "Enviar"
|
||||
update:
|
||||
error: 'Código de confirmación incorrecto'
|
||||
error: "Código de confirmación incorrecto"
|
||||
flash:
|
||||
level_three:
|
||||
success: 'Código correcto. Ya eres un usuario verificado'
|
||||
success: "Código correcto. Tu cuenta ya está verificada"
|
||||
level_two:
|
||||
success: 'Código incorrecto'
|
||||
success: "Código correcto"
|
||||
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:
|
||||
show:
|
||||
flash:
|
||||
success: 'Eres un usuario verificado'
|
||||
success: "Eres un usuario verificado"
|
||||
alert:
|
||||
failure: 'Código de verificación incorrecto'
|
||||
failure: "Código de verificación incorrecto"
|
||||
create:
|
||||
flash:
|
||||
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"
|
||||
letter:
|
||||
new:
|
||||
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'
|
||||
submit_button: 'Send me a letter'
|
||||
title: "Verificación Final"
|
||||
explanation_html:
|
||||
"<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:
|
||||
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:
|
||||
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:
|
||||
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:
|
||||
show:
|
||||
title: Información disponible
|
||||
email_title: Emails
|
||||
phone_title: Teléfonos
|
||||
use_another_phone: Utilizar otro teléfono
|
||||
title: "Información disponible"
|
||||
explanation: "Actualmente disponemos de los siguientes datos en el Padrón, selecciona donde quieres que enviemos el código de confirmación."
|
||||
email_title: "Emails"
|
||||
phone_title: "Teléfonos"
|
||||
use_another_phone: "Utilizar otro teléfono"
|
||||
form:
|
||||
submit_button: Enviar
|
||||
submit_button: "Enviar código"
|
||||
Reference in New Issue
Block a user