Deleted code in views and concerns that lets polls have more images and documentes attached, like it was at first.

Added missing text for english and new texts in english and spanish.

 Cambios para hacer commit:
	modificado:    app/assets/stylesheets/participation.scss
	modificado:    app/models/concerns/imageable.rb
	modificado:    app/models/poll.rb
	modificado:    app/views/admin/poll/polls/_form.html.erb
	modificado:    app/views/images/_admin_image.html.erb
	modificado:    config/locales/en/images.yml
	modificado:    config/locales/es/admin.yml
	modificado:    config/locales/es/images.yml
	modificado:    spec/features/admin/poll/polls_spec.rb
This commit is contained in:
iagirre
2017-10-02 12:59:26 +02:00
parent c67620fdef
commit 166caa3b4c
9 changed files with 36 additions and 74 deletions

View File

@@ -11,6 +11,7 @@ en:
add_new_image: Add image
title_placeholder: Add a descriptive title for the image
admin_title: "Main image of the poll"
admin_alt_text: "Alternative text for the image"
actions:
destroy:

View File

@@ -580,12 +580,6 @@ es:
error_on_question_added: "No se pudo asignar la pregunta"
question_removed: "Pregunta eliminada de esta votación"
error_on_question_removed: "No se pudo quitar la pregunta"
attachments:
title: "Imágenes y documentos de la votación"
images_title: "Imágenes"
documents_title: "Documents"
images_link: "Lista de imágenes"
documents_link: "Lista de documentos"
questions:
index:
title: "Preguntas ciudadanas"

View File

@@ -10,6 +10,7 @@ es:
add_new_image: Añadir imagen
title_placeholder: Añade un título descriptivo para la imagen
admin_title: "Imagen principal de la votación"
admin_alt_text: "Texto alternativo para la imagen"
actions:
destroy: