Commit Graph

60 Commits

Author SHA1 Message Date
decabeza
a318b82159 fixes lint warnings 2017-10-04 11:47:31 +02:00
Raimond Garcia
c7f576aa4f Merge pull request #1962 from wairbut-m2c/iagirre-admin-polls-section
Iagirre admin polls section
2017-10-03 22:23:53 +02:00
María Checa
bf61dffd4b Removed files that are not used 2017-10-03 10:47:48 +02:00
María Checa
e464985114 Minor fix
Removed unnecessary markdown
2017-10-02 20:34:38 +02:00
iagirre
166caa3b4c 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
2017-10-02 12:59:26 +02:00
María Checa
adf18ee756 Polls admin fixes
Removed search from questions tab and unassign button.
2017-10-02 10:37:10 +02:00
iagirre
c67620fdef Table for links added (links to add images/documents).
Custom partial for admins upload image created, so that it can be reused in upload images and documents.
2017-09-29 14:51:49 +02:00
iagirre
77d0a551cf Migration for adding summary and description to polls created. Both text_areas were added to polls form.
Imageable class included in polls model and the first aproach for adding images added to form.
2017-09-28 17:46:30 +02:00
decabeza
407c0fc702 fixes styles for filters, orders and subnavs on admin 2017-09-27 17:57:54 +02:00
decabeza
98961748ad replaces more old back link partial to new back_link_to helper 2017-07-27 00:26:39 +02:00
Alberto Garcia Cabeza
799bbbe6cb fixes ul close tag on admin polls subnav 2017-02-14 16:40:18 +01:00
Juanjo Bazán
2d722f1ad4 redux admin poll subnav 2017-02-14 14:57:49 +01:00
Juanjo Bazán
0bd87c7e43 extracts results from admin's poll/show 2017-02-14 14:26:46 +01:00
Juanjo Bazán
bedb9f29e7 extracts recounting from admin's poll/show 2017-02-14 14:07:22 +01:00
Juanjo Bazán
19ec7f93b3 extracts officer_assignments from admin's poll/show 2017-02-14 13:47:33 +01:00
Juanjo Bazán
20e31133a8 extracts booth_assignment from admin's poll/show 2017-02-14 13:00:19 +01:00
Juanjo Bazán
711c2280c6 avoids duplicate entries in officers list 2017-02-12 20:10:02 +01:00
Alberto Garcia Cabeza
f7971a3c9f improves tables layout on admin polls show views 2017-02-09 19:03:06 +01:00
Alberto Garcia Cabeza
b4660e162a improves table layout on admin polls index 2017-02-09 18:38:56 +01:00
Alberto Garcia Cabeza
0025b7faec adds link to configure poll (poll show) on admin poll index 2017-02-08 22:23:17 +01:00
Juanjo Bazán
35540cdcf1 adds poll results to admin
simple page shows results by question, white and null results
2017-02-06 17:12:54 +01:00
Juanjo Bazán
01a52cc61a fixes ambiguous match error in specs 2017-01-31 19:09:58 +01:00
Juanjo Bazán
a05297ea1a adds Recounting tab to Poll's admin show view 2017-01-31 13:40:53 +01:00
kikito
bc763c34c2 Removes Poll::Question.summary from views 2017-01-30 18:41:24 +01:00
kikito
ab63c18d01 Moves geozones from questions to polls in admin show views 2017-01-24 18:08:48 +01:00
kikito
176a190149 Moves geozones from questions to polls in admin forms 2017-01-24 18:08:15 +01:00
Juanjo Bazán
70b86170a2 adds booth_assignment show with officers and recounts info 2017-01-04 21:00:36 +01:00
Alberto Garcia Cabeza
f08cbed080 adds missing i18n 2016-12-28 13:48:39 +01:00
Alberto Garcia Cabeza
241ddcb163 polish styles for tables, assignments and searches on polls admin 2016-12-28 13:45:36 +01:00
Alberto Garcia Cabeza
c2b6cda406 improves styles of search forms 2016-12-28 12:49:02 +01:00
Juanjo Bazán
2aff1d71fe makes count uniq 2016-12-27 17:47:27 +01:00
Juanjo Bazán
40f6ca5886 adds poll shift management to admin 2016-12-27 17:47:15 +01:00
Juanjo Bazán
a78fe197e9 favours user instead of officer 2016-12-27 17:42:45 +01:00
Juanjo Bazán
ee8c057a46 adds officer search to admin polls 2016-12-27 12:36:16 +01:00
Juanjo Bazán
f0156c5b5a adds admin search/add/remove question to poll 2016-12-26 16:19:35 +01:00
Juanjo Bazán
8b4f519d71 adds booth assignation to admin poll 2016-12-23 19:06:55 +01:00
Juanjo Bazán
bc690748fd adds dates validation to polls 2016-12-21 13:50:15 +01:00
Alberto Garcia Cabeza
9c78b60ddc adds provisional content on booths show and officers assign 2016-12-16 18:59:15 +01:00
Alberto Garcia Cabeza
30a56d21f7 changes text to remove questions on polls questions list 2016-12-16 14:09:04 +01:00
Alberto Garcia Cabeza
0ddf7a003c adds dates on polls index 2016-12-16 14:02:03 +01:00
Alberto Garcia Cabeza
6498d1c34d improves styles for admin polls views 2016-12-14 13:52:18 +01:00
Juanjo Bazán
1a20a3ce46 refactors i18n for polls 2016-12-07 14:49:56 +01:00
Juanjo Bazán
ad2dd7d267 adds officer-polls relation and spec 2016-12-06 14:51:53 +01:00
Juanjo Bazán
0f72596c27 removes unused button 2016-12-06 14:33:26 +01:00
Juanjo Bazán
60e7ac20e7 tweaks admin/polls pages and specs 2016-12-06 13:51:14 +01:00
Juanjo Bazán
e8ccc07273 adds missing i18n for admin/polls tabs 2016-12-06 13:50:40 +01:00
rgarcia
c1ea074be4 adds question, booth and officer tabs for a poll 2016-11-29 11:46:37 +01:00
Juanjo Bazán
c1336ccc13 adds fields and i18n keys to admin poll form 2016-11-14 13:58:19 +01:00
rgarcia
de330b1c02 adds booth info to poll show 2016-11-14 13:57:16 +01:00
rgarcia
e810fe3e34 maintains poll date and status in index for demo 2016-11-14 13:57:16 +01:00