Merge branch 'master' into reorganize_header
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -25,3 +25,4 @@
|
|||||||
|
|
||||||
# Mac finder artifacts
|
# Mac finder artifacts
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.ruby-gemset
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ Las herramientas utilizadas para el frontend no están cerradas aún. Los estilo
|
|||||||
|
|
||||||
## Configuración para desarrollo y tests
|
## Configuración para desarrollo y tests
|
||||||
|
|
||||||
Prerequisitos: tener instalado git, ImageMagick, Ruby 2.2.2, la gema `bundler`, y PostgreSQL (9.4 o superior).
|
Prerequisitos: tener instalado git, ImageMagick, Ruby 2.2.2, la gema `bundler`, ghostscript y PostgreSQL (9.4 o superior).
|
||||||
|
|
||||||
```
|
```
|
||||||
cd participacion
|
cd participacion
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ Frontend tools used include [SCSS](http://sass-lang.com/) over [Foundation](http
|
|||||||
|
|
||||||
## Configuration for development and test environments
|
## Configuration for development and test environments
|
||||||
|
|
||||||
Prerequisites: install git, ImageMagick, Ruby 2.2.2, bundler gem and PostgreSQL (>=9.4).
|
Prerequisites: install git, ImageMagick, Ruby 2.2.2, bundler gem, ghostscript and PostgreSQL (>=9.4).
|
||||||
|
|
||||||
```
|
```
|
||||||
cd participacion
|
cd participacion
|
||||||
|
|||||||
BIN
app/assets/images/language_select.png
Normal file
BIN
app/assets/images/language_select.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
@@ -482,6 +482,24 @@ footer {
|
|||||||
// 08. Forms
|
// 08. Forms
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
|
form.locale-form {
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
select {
|
||||||
|
background-image: url("language_select.png");
|
||||||
|
|
||||||
|
&.js-locale-switcher {
|
||||||
|
background-color: transparent;
|
||||||
|
border: 0;
|
||||||
|
color: white;
|
||||||
|
outline: none;
|
||||||
|
padding-left: rem-calc(3);
|
||||||
|
padding-right: rem-calc(24);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
form {
|
form {
|
||||||
|
|
||||||
label {
|
label {
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<div class="locale">
|
<div class="locale">
|
||||||
<span>
|
<span class="inline-block"><%= t("layouts.header.locale") %></span>
|
||||||
<%= t("layouts.header.language") %>
|
<form class="locale-form">
|
||||||
<form>
|
<select class="js-locale-switcher" name="locale-switcher">
|
||||||
<select class="js-locale-switcher" name='locale-switcher'>
|
|
||||||
<%= available_locale_options_for_select %>
|
<%= available_locale_options_for_select %>
|
||||||
</select>
|
</select>
|
||||||
</form>
|
</form>
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ en:
|
|||||||
index:
|
index:
|
||||||
title: 'Debate topics'
|
title: 'Debate topics'
|
||||||
add_tag: 'Add a new debate topic'
|
add_tag: 'Add a new debate topic'
|
||||||
mark_as_featured: 'Mark as featured'
|
mark_as_featured: 'Propose topic to create debate'
|
||||||
name:
|
name:
|
||||||
placeholder: 'Write a topic'
|
placeholder: 'Write a topic'
|
||||||
destroy: Delete Tag
|
destroy: Delete Tag
|
||||||
|
|||||||
@@ -33,13 +33,13 @@ es:
|
|||||||
actions:
|
actions:
|
||||||
hide: Ocultar
|
hide: Ocultar
|
||||||
hide_author: Bloquear al autor
|
hide_author: Bloquear al autor
|
||||||
restore: Permitir
|
restore: Volver a mostrar
|
||||||
confirm: '¿Estás seguro?'
|
confirm: '¿Estás seguro?'
|
||||||
tags:
|
tags:
|
||||||
index:
|
index:
|
||||||
title: 'Temas de debate'
|
title: 'Temas de debate'
|
||||||
add_tag: 'Añade un nuevo tema de debate'
|
add_tag: 'Añade un nuevo tema de debate'
|
||||||
mark_as_featured: 'Marcar como destacado'
|
mark_as_featured: 'Proponer etiqueta al crear debate'
|
||||||
name:
|
name:
|
||||||
placeholder: 'Escribe el nombre del tema'
|
placeholder: 'Escribe el nombre del tema'
|
||||||
destroy: Elimina la etiqueta
|
destroy: Elimina la etiqueta
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ en:
|
|||||||
open_city_slogan: So the citizens can decide what kind of city they want.
|
open_city_slogan: So the citizens can decide what kind of city they want.
|
||||||
see_all_debates: See all debates
|
see_all_debates: See all debates
|
||||||
my_account_link: My account
|
my_account_link: My account
|
||||||
language: Site language
|
locale: "Site language:"
|
||||||
administration: Administration
|
administration: Administration
|
||||||
moderation: Moderation
|
moderation: Moderation
|
||||||
welcome: Welcome
|
welcome: Welcome
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
es:
|
es:
|
||||||
locale: 'Español'
|
locale: "Español"
|
||||||
layouts:
|
layouts:
|
||||||
header:
|
header:
|
||||||
external_link_transparency: Transparencia
|
external_link_transparency: Transparencia
|
||||||
@@ -13,7 +13,7 @@ es:
|
|||||||
open_city_slogan: Para que todos los madrileños decidamos que ciudad queremos tener.
|
open_city_slogan: Para que todos los madrileños decidamos que ciudad queremos tener.
|
||||||
see_all_debates: Ver todos los debates
|
see_all_debates: Ver todos los debates
|
||||||
my_account_link: Mi cuenta
|
my_account_link: Mi cuenta
|
||||||
language: Idioma de la página
|
locale: "Idioma de la página:"
|
||||||
administration: Administrar
|
administration: Administrar
|
||||||
moderation: Moderar
|
moderation: Moderar
|
||||||
welcome: Portada
|
welcome: Portada
|
||||||
@@ -115,7 +115,7 @@ es:
|
|||||||
show:
|
show:
|
||||||
title: "Mi cuenta"
|
title: "Mi cuenta"
|
||||||
save_changes_submit: "Guardar cambios"
|
save_changes_submit: "Guardar cambios"
|
||||||
change_credentials_link: "Cambiar mis credenciales"
|
change_credentials_link: "Cambiar mis datos de acceso"
|
||||||
email_on_debate_comment_label: "Recibir un email cuando alguien comenta en mis debates"
|
email_on_debate_comment_label: "Recibir un email cuando alguien comenta en mis debates"
|
||||||
email_on_comment_reply_label: "Recibir un email cuando alguien contesta a mis comentarios"
|
email_on_comment_reply_label: "Recibir un email cuando alguien contesta a mis comentarios"
|
||||||
avatar: "Avatar"
|
avatar: "Avatar"
|
||||||
|
|||||||
Reference in New Issue
Block a user