Changes references to Madrid

This commit is contained in:
Alberto Garcia Cabeza
2016-07-05 13:47:14 +02:00
parent ece2f6f019
commit 42722080fc
13 changed files with 16 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
class ApplicationMailer < ActionMailer::Base class ApplicationMailer < ActionMailer::Base
helper :settings helper :settings
default from: "Decide Madrid <no-reply@madrid.es>" default from: "Consul <no-reply@consul.es>"
layout 'mailer' layout 'mailer'
end end

View File

@@ -12,6 +12,6 @@
<p> <p>
<%= t("management.document_verifications.has_no_account_html", <%= t("management.document_verifications.has_no_account_html",
link: link_to('http://decide.madrid.es', 'http://decide.madrid.es'), link: link_to(t('management.document_verifications.link'), root_path)).html_safe,
target: "_blank") %> target: "_blank") %>
</p> </p>

View File

@@ -1,6 +1,6 @@
<!-- Twitter --> <!-- Twitter -->
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@abriendomadrid" /> <meta name="twitter:site" content="@consul_dev" />
<meta name="twitter:title" content="<%= social_title %>" /> <meta name="twitter:title" content="<%= social_title %>" />
<meta name="twitter:description" content="<%= social_description %>" /> <meta name="twitter:description" content="<%= social_description %>" />
<meta name="twitter:image" content="<%= image_url '/social-media-icon.png' %>" /> <meta name="twitter:image" content="<%= image_url '/social-media-icon.png' %>" />

View File

@@ -6,7 +6,7 @@
</button> </button>
<%= t("verification.residence.new.error_verifying_census", <%= t("verification.residence.new.error_verifying_census",
offices: link_to( t("verification.residence.new.error_verifying_census_offices"), offices: link_to( t("verification.residence.new.error_verifying_census_offices"),
"http://www.madrid.es/portales/munimadrid/es/Inicio/El-Ayuntamiento/Atencion-al-ciudadano/Oficinas-de-Atencion-al-Ciudadano?vgnextfmt=default&vgnextchannel=5b99cde2e09a4310VgnVCM1000000b205a0aRCRD", title: t('shared.target_blank_html'), target: "_blank")).html_safe %> t("verification.residence.new.error_verifying_census_offices_url"), title: t('shared.target_blank_html'), target: "_blank")).html_safe %>
</div> </div>
<% else %> <% else %>

View File

@@ -1,11 +1,11 @@
staging: staging:
deploy_to: "/var/www/consul" deploy_to: "/var/www/consul"
ssh_port: 21 ssh_port: 21
server: staging.consul.madrid.es server: staging.consul.es
user: xxxxx user: xxxxx
full_app_name: consul full_app_name: consul
server_name: staging.consul.madrid.es server_name: staging.consul.es
db_server: postgre.consul.madrid.es db_server: postgre.consul.es
preproduction: preproduction:
deploy_to: "/var/www/consul" deploy_to: "/var/www/consul"

View File

@@ -12,7 +12,7 @@ Devise.setup do |config|
# Configure the e-mail address which will be shown in Devise::Mailer, # Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class # note that it will be overwritten if you use your own mailer class
# with default "from" parameter. # with default "from" parameter.
config.mailer_sender = 'noreply@madrid.es' config.mailer_sender = 'noreply@consul.es'
# Configure the class responsible to send e-mails. # Configure the class responsible to send e-mails.
config.mailer = 'DeviseMailer' config.mailer = 'DeviseMailer'

View File

@@ -25,7 +25,7 @@ en:
hi: "Dear user," hi: "Dear user,"
new_html: "For all these, we invite you to elaborate a <strong>new proposal</strong> that ajusts to the conditions of this process. You can do it following this link: %{url}." new_html: "For all these, we invite you to elaborate a <strong>new proposal</strong> that ajusts to the conditions of this process. You can do it following this link: %{url}."
new_href: "new investment project" new_href: "new investment project"
reconsider_html: "If you believe that the rejected proposal meets the requirements to be an investment proposal, you can communicate this, within 48 hours, responding to the email address preparticipativos@madrid.es. Including the code %{code} in the subject of the email." reconsider_html: "If you believe that the rejected proposal meets the requirements to be an investment proposal, you can communicate this, within 48 hours, responding to the email address examples@consul.es. Including the code %{code} in the subject of the email."
sincerely: "Sincerely" sincerely: "Sincerely"
signatory: "DEPARTMENT OF PUBLIC PARTICIPATION" signatory: "DEPARTMENT OF PUBLIC PARTICIPATION"
sorry: "Sorry for the inconvenience and we again thank you for your invaluable participation." sorry: "Sorry for the inconvenience and we again thank you for your invaluable participation."

View File

@@ -25,7 +25,7 @@ es:
hi: "Estimado usuario," hi: "Estimado usuario,"
new_html: "Por todo ello, te invitamos a que elabores una <strong>nueva propuesta</strong> que se ajuste a las condiciones de este proceso. Esto lo puedes hacer en este enlace: %{url}." new_html: "Por todo ello, te invitamos a que elabores una <strong>nueva propuesta</strong> que se ajuste a las condiciones de este proceso. Esto lo puedes hacer en este enlace: %{url}."
new_href: "nueva propuesta de inversión" new_href: "nueva propuesta de inversión"
reconsider_html: "Si consideras que la propuesta rechazada cumple los requisitos para mantenerla como propuesta de inversión, podrás comunicarlo, en el plazo de 48 horas, al correo preparticipativos@madrid.es, indicando necesariamente para su tramitación el código %{code} como asunto del correo, correspondiente a tu propuesta." reconsider_html: "Si consideras que la propuesta rechazada cumple los requisitos para mantenerla como propuesta de inversión, podrás comunicarlo, en el plazo de 48 horas, al correo example@consul.es, indicando necesariamente para su tramitación el código %{code} como asunto del correo, correspondiente a tu propuesta."
sincerely: "Atentamente" sincerely: "Atentamente"
signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA" signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA"
sorry: "Sentimos las molestias ocasionadas y volvemos a darte las gracias por tu inestimable participación." sorry: "Sentimos las molestias ocasionadas y volvemos a darte las gracias por tu inestimable participación."

View File

@@ -26,7 +26,7 @@ es:
link: Consul link: Consul
in_census_has_following_permissions: 'Este usuario puede participar en el Portal de Gobierno Abierto con las siguientes posibilidades:' in_census_has_following_permissions: 'Este usuario puede participar en el Portal de Gobierno Abierto con las siguientes posibilidades:'
not_in_census: Este documento no está registrado. not_in_census: Este documento no está registrado.
not_in_census_info: 'Las personas no empadronadas en Madrid pueden participar en el Portal de Gobierno Abierto del Ayuntamiento de Madrid con las siguientes posibilidades:' not_in_census_info: 'Las personas no empadronadas pueden participar en el Portal de Gobierno Abierto con las siguientes posibilidades:'
please_check_account_data: Compruebe que los datos anteriores son correctos para proceder a verificar la cuenta completamente. please_check_account_data: Compruebe que los datos anteriores son correctos para proceder a verificar la cuenta completamente.
title: Gestión de usuarios title: Gestión de usuarios
under_age: Debes ser mayor de 16 años para verificar tu cuenta. under_age: Debes ser mayor de 16 años para verificar tu cuenta.

View File

@@ -46,9 +46,7 @@ en:
This Open Government Portal use the [Consul app](https://github.com/ayuntamientomadrid 'consul github') that is free software, with [licence AGPLv3](http://www.gnu.org/licenses/agpl-3.0.html 'AGPLv3 gnu' ), that means in simple words that anyone can use the code freely, copy it, see it in detail, modify it and redistribute it to the word with the modifications he wants (allowing others to do the same). Because we think culture is better and richer when it is released. This Open Government Portal use the [Consul app](https://github.com/ayuntamientomadrid 'consul github') that is free software, with [licence AGPLv3](http://www.gnu.org/licenses/agpl-3.0.html 'AGPLv3 gnu' ), that means in simple words that anyone can use the code freely, copy it, see it in detail, modify it and redistribute it to the word with the modifications he wants (allowing others to do the same). Because we think culture is better and richer when it is released.
Not only can you use freely this portal in yout local government, but you also will be helped by Madrid city council as much as possible to do it, so if you are interested write us: <a href='mailto:ag.gobiernoabierto@madrid.es'>ag.gobiernoabierto@madrid.es</a> If you are a programmer, you can see the code and help us to improve it at [Consul app](https://github.com/ayuntamientomadrid 'consul github').
If you are a programmer, you can see the code and help us to improve it at [Consul app](https://github.com/ayuntamientomadrid 'consul github ' ).
titles: titles:
faq: Solution to tecnical problemas (FAQ) faq: Solution to tecnical problemas (FAQ)
how_it_works: How does this Open Government Portal work? how_it_works: How does this Open Government Portal work?

View File

@@ -44,11 +44,9 @@ es:
text: |- text: |-
Utilízalo en tu municipio libremente o ayúdanos a mejorarlo, es software libre. Utilízalo en tu municipio libremente o ayúdanos a mejorarlo, es software libre.
Este Portal de Gobierno Abierto usa la [aplicación Consul](https://github.com/ayuntamientomadrid 'github consul' ) que es software libre, con [licencia AGPLv3](http://www.gnu.org/licenses/agpl-3.0.html 'AGPLv3 gnu' ), esto significa en palabras sencillas, que cualquiera puede libremente usar el código, copiarlo, verlo en detalle, modificarlo, y redistribuirlo al mundo con las modificaciones que quiera (manteniendo el que otros puedan a su vez hacer lo mismo). Porque creemos que la cultura es mejor y más rica cuando se libera. Este Portal de Gobierno Abierto usa la [aplicación Consul](https://github.com/ayuntamientomadrid 'github consul') que es software libre, con [licencia AGPLv3](http://www.gnu.org/licenses/agpl-3.0.html 'AGPLv3 gnu' ), esto significa en palabras sencillas, que cualquiera puede libremente usar el código, copiarlo, verlo en detalle, modificarlo, y redistribuirlo al mundo con las modificaciones que quiera (manteniendo el que otros puedan a su vez hacer lo mismo). Porque creemos que la cultura es mejor y más rica cuando se libera.
No sólo puedes utilizar libremente este portal en tu municipio, sino que desde el Ayuntamiento de Madrid vamos a ayudarte todo lo posible a que lo hagas, así que si estás interesado, escríbenos a <a href='mailto:ag.gobiernoabierto@madrid.es'>ag.gobiernoabierto@madrid.es</a> Si eres programador, puedes ver el código y ayudarnos a mejorarlo en [aplicación Consul](https://github.com/ayuntamientomadrid 'github consul').
Si eres programador, puedes ver el código y ayudarnos a mejorarlo en [aplicación Consul](https://github.com/ayuntamientomadrid 'github consul' ).
titles: titles:
faq: Soluciones a problemas técnicos (FAQ) faq: Soluciones a problemas técnicos (FAQ)
how_it_works: "¿Cómo funciona este Portal de Gobierno Abierto?" how_it_works: "¿Cómo funciona este Portal de Gobierno Abierto?"

View File

@@ -267,6 +267,6 @@ Rails.application.routes.draw do
mount Tolk::Engine => '/translate', :as => 'tolk' mount Tolk::Engine => '/translate', :as => 'tolk'
# static pages # static pages
get '/blog' => redirect("http://diario.madrid.es/participa/") get '/blog' => redirect("http://hereyourblogsite.com/")
resources :pages, path: '/', only: [:show] resources :pages, path: '/', only: [:show]
end end

View File

@@ -25,7 +25,7 @@ class SMSApi
def request(phone, code) def request(phone, code)
{ autorizacion: authorization, { autorizacion: authorization,
destinatarios: { destinatario: phone }, destinatarios: { destinatario: phone },
texto_mensaje: "Clave para verificarte: #{code}. Gobierno Abierto - Ayuntamiento de Madrid", texto_mensaje: "Clave para verificarte: #{code}. Gobierno Abierto",
solicita_notificacion: "All" } solicita_notificacion: "All" }
end end