Commit Graph

1325 Commits

Author SHA1 Message Date
rgarcia
d24ef1615f cleans up deploy.rb 2016-11-21 10:15:51 +01:00
rgarcia
c8c5b55816 updates ruby version for capistrano 2016-11-21 10:15:44 +01:00
rgarcia
a1095089af configures up to date capistrano rvm gem 2016-11-21 10:15:34 +01:00
rgarcia
e12f183775 fixes typo 2016-11-19 14:03:10 +01:00
rgarcia
724dac4df2 cherry picks creating poll question from successful proposals 2016-11-18 21:09:28 +01:00
Alberto Garcia Cabeza
596cf1dc38 adds styles to admin question show 2016-11-18 13:13:40 +01:00
rgarcia
626a8e9154 updates specs for admin poll questions 2016-11-17 21:31:51 +01:00
rgarcia
198b0018f7 adds admin poll question's show 2016-11-17 10:45:37 +01:00
rgarcia
d9ad658758 adds admin interface for poll questions 2016-11-17 09:30:42 +01:00
rgarcia
6fe965a9b8 adds question's show 2016-11-16 19:41:29 +01:00
rgarcia
ac58f30498 removes proposal ballots 2016-11-16 19:39:20 +01:00
Raimond Garcia
14af1a1961 Merge pull request #1259 from consul/accessibility
Accessibility
2016-11-15 11:39:40 +01:00
rgarcia
bb3c4c6399 adds consistency to ruby code style
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00
Alberto Garcia Cabeza
2249fdbdfa improves outline and structure headings 2016-11-14 17:45:20 +01:00
kikito
13238e6a84 Merge branch 'polling' into polling-questions 2016-11-14 14:02:31 +01:00
Juanjo Bazán
c1336ccc13 adds fields and i18n keys to admin poll form 2016-11-14 13:58:19 +01:00
Juanjo Bazán
76a4f420eb changes menu name 2016-11-14 13:58:19 +01:00
Juanjo Bazán
6e3da012e5 removes unused i18n key 2016-11-14 13:58:00 +01:00
Alberto Garcia Cabeza
96cf578259 add officing to i18n tasks 2016-11-14 13:58:00 +01:00
Alberto Garcia Cabeza
1a56d5bbe6 adds styles to officing voters views 2016-11-14 13:58:00 +01:00
Alberto Garcia Cabeza
70752e217d adds styles for offering voters views 2016-11-14 13:58:00 +01:00
rgarcia
5ba72f0fe3 assigns officers to booths 2016-11-14 13:58:00 +01:00
rgarcia
de330b1c02 adds booth info to poll show 2016-11-14 13:57:16 +01:00
rgarcia
63ccac963a adds booth backend for index, show, create and edit actions 2016-11-14 13:57:16 +01:00
rgarcia
6d7d6e67ea adds consistency to syntax 2016-11-14 13:56:49 +01:00
rgarcia
3251e4944e allow officers to be created without a poll 2016-11-14 13:56:49 +01:00
rgarcia
c1a9caeab0 adds poll CRU actions 2016-11-14 13:56:49 +01:00
Alberto Garcia Cabeza
5e3fff6825 Adds content to booths index and show views 2016-11-14 13:56:49 +01:00
rgarcia
b54aee5702 displays voter name if already voted 2016-11-14 13:52:38 +01:00
rgarcia
8dc7285681 validates user has not already voted 2016-11-14 13:52:38 +01:00
rgarcia
44df91346a validates voter in census 2016-11-14 13:51:59 +01:00
Alberto Garcia Cabeza
7f0d233bce Add views for admin booths 2016-11-14 13:51:09 +01:00
Alberto Garcia Cabeza
faecb51054 Adds booths index content 2016-11-14 13:51:09 +01:00
Alberto Garcia Cabeza
7b24e73999 Adds content to edit and show views 2016-11-14 13:51:09 +01:00
Alberto Garcia Cabeza
2acd1a69cd Adds i18n and styles to admin polls index and new 2016-11-14 13:51:09 +01:00
rgarcia
503338e47b adds view placeholders for officing polls 2016-11-14 13:51:09 +01:00
rgarcia
1ca821c520 creates polling officers from admin 2016-11-14 13:51:09 +01:00
kikito
1f9945d0aa Implements answering questions 2016-11-14 13:36:00 +01:00
kikito
38efad77f3 Changes the way question#copy_attributes_from_proposal works 2016-11-11 19:11:53 +01:00
kikito
63311d6cd1 reimplements routes for questions 2016-11-11 19:08:46 +01:00
kikito
506cf0dd70 Refactors polls_controller using answerable_by. Implements more specs 2016-11-07 17:43:53 +01:00
kikito
3d22c556e8 Adds scenarios (some missing) for poll voting 2016-11-02 17:50:08 +01:00
Alberto Garcia Cabeza
7594981964 changes text 2% of census to 1% 2016-11-02 14:22:37 +01:00
kikito
3eca3faacd First version of Polls Controller 2016-10-31 14:13:56 +01:00
rgarcia
028cc4362d Makes i18n-tasks only aware of english and spanish locales 2016-10-31 11:54:44 +01:00
rgarcia
d540be333a Makes tolk aware of french and portuguese translations 2016-10-31 11:54:26 +01:00
rgarcia
aeec264b8b makes fallback locale spanish 2016-10-31 11:50:16 +01:00
rgarcia
04ca5f7ae8 adds french and brazilian portuguese locales 2016-10-31 11:50:07 +01:00
Juanjo Bazán
2506804393 adds fields and i18n keys to admin poll form 2016-10-27 15:52:07 +02:00
Juanjo Bazán
01d337f7e9 changes menu name 2016-10-20 16:25:02 +02:00