Bertocq
4e4057573d
Fix store officer and booth info spec
2019-03-28 15:47:52 +01:00
Bertocq
8e61075659
Make clearer the set officing booth usage for secondary booth
2019-03-28 15:47:52 +01:00
Bertocq
49ffcfac06
Move set officing booth helper method calls to background block
2019-03-28 15:47:52 +01:00
Bertocq
d2e8f84759
Create missing shift and choose booth for the officer
2019-03-28 15:47:52 +01:00
Bertocq
80a9ba8aa7
Enable and fix booth selection back
2019-03-28 15:47:52 +01:00
rgarcia
88c801d6c5
fixes specs
2019-03-28 15:47:52 +01:00
rgarcia
0acec655e2
fixes specs
2019-03-28 15:47:52 +01:00
rgarcia
4761ac91bd
Displays officing booth in layout
2019-03-28 15:47:52 +01:00
rgarcia
9c59c8b68e
displays booth location instead of booth name
2019-03-28 15:47:52 +01:00
rgarcia
0286ca4c59
displays single booth for any number of polls
2019-03-28 15:47:52 +01:00
rgarcia
5dea0e039e
updates notice
2019-03-28 15:47:52 +01:00
rgarcia
74706027cb
fixes specs
2019-03-28 15:47:52 +01:00
rgarcia
b4499321d3
stores officer booth on sign in
2019-03-28 15:47:52 +01:00
rgarcia
5835d12694
stores the officer that allowed a voter to vote in a physical booth
2019-03-28 15:47:52 +01:00
Javi Martín
d894d24bff
Use double quotes in config/locales
2019-03-25 14:58:54 +01:00
Javi Martín
2b4e1cf358
Add missing double quotes
...
We overlooked a few single quotes while we changed thousands of them.
2019-03-25 13:22:35 +01:00
Julian Nicolas Herrero
9cfd3c70be
Merge pull request #3385 from consul/welcome_page_not_logged_in_user
...
Require logged in user if navigate to /welcome
2019-03-22 17:35:29 +01:00
decabeza
21c6da3767
Use min age to participate setting on verification residence form
2019-03-22 16:15:48 +01:00
Javier Martín
0fd9570ea8
Merge pull request #3384 from consul/backport-simplify_poll_factories
...
Simplify poll factories
2019-03-20 14:32:47 +01:00
Julian Herrero
89d4ea5aa3
Remove homepage widget settings from configuration tab
...
- Rename homepage widget settings keys
2019-03-19 19:45:34 +01:00
Julian Herrero
c82b2a975a
Add new settings tab for participation processes
...
- Rename setting keys
- New tab por participation processes
- Hide these settings from features tab
2019-03-19 19:45:32 +01:00
Julian Herrero
dbac4bc222
Change admin settings tab for maps
...
- Rename map settings keys
- Add fields for latitude, longitude and zoom
- Add a callout message on how to enable map feature
2019-03-19 18:14:57 +01:00
Julian Herrero
8ae80cd1a1
Cleanup (remove unnecessary code)
2019-03-19 15:11:50 +01:00
Julian Herrero
511f0be287
Require logged in user if navigate to /welcome
2019-03-19 14:55:51 +01:00
Javi Martín
d69adbccb7
Avoid creating extra poll records in tests
...
The line:
create(:poll_voter, booth_assignment: booth_assignment_final_recounted)
Creates a new poll for the poll voter. Not only it wastes time by
creating new database records, but it doesn't make sense to have a poll
voter for a poll which isn't the same as its booth assignment's poll.
2019-03-19 13:29:45 +01:00
Javi Martín
8118926ba7
Simplify tests creating poll voters
2019-03-19 13:29:43 +01:00
Julian Herrero
58f22915e9
Use double quotes
2019-03-15 09:57:09 +01:00
Julian Herrero
da04f6caa7
Add test for booth votes case
2019-03-15 09:55:12 +01:00
Julian Herrero
1e04643576
Adjust spec after changing welcome pages
...
Welcome pages no longer have classes or `span' tags.
They still have the 4 `li' tags, so we check for them.
2019-03-14 18:35:51 +01:00
Julian Herrero
ddca825f9f
Update spec after adding default pages
...
The spec was assuming there was only 1 custom page created in the
DB. With this change the spec will pass no matter how many custom
pages there are in the DB.
2019-03-14 18:35:51 +01:00
Julian Herrero
87be6f302c
Add default site customization pages
...
From now on these static pages:
`/privacy'
`/conditions'
`/accesibility'
`/help/faq'
`/welcome'
have been moved to the DB and can be modified easily by any
administrator in `/admin/site_customization/pages'
2019-03-14 18:35:51 +01:00
Alberto
3c313c9c52
Merge pull request #3334 from consul/admin-polish
...
Improve UX on admin section
2019-03-13 17:15:22 +01:00
decabeza
b31b65f246
Add link to proposal if question was created from a proposal
2019-03-13 15:35:31 +01:00
decabeza
000819e928
Move create question to admin poll questions
...
Also move question actions to admin polls questions
2019-03-13 15:33:14 +01:00
decabeza
83e8d6035a
Remove questions link on admin polls menu
2019-03-13 13:33:49 +01:00
decabeza
74958fab02
Always show create question button on admin proposal show
2019-03-13 13:28:12 +01:00
decabeza
e520a51d57
Replace default feature proposals to nil
2019-03-13 13:18:53 +01:00
decabeza
528a4b6e8e
Add default colours to admin banners
2019-03-13 13:17:42 +01:00
Alberto
1f9ebbc749
Merge pull request #3340 from consul/unfeasible-investment
...
[Backport] Show unfeasible budget investment messages only when valuation finished
2019-03-12 11:09:44 +01:00
Javi Martín
db6229e38e
Add specs for cumulative recounts totals
2019-03-07 02:09:17 +01:00
rgarcia
151239924b
Display 'validate document' menu item only when applicable
...
We are trying to avoid Officers from forgetting to click the “Confirm
vote” button, which is necessary to keep track of who has voted a Poll
To do that, we are not displaying the menu item to go back to the next
person that wants to vote, until the Officer clicks the “Confirm Vote”
button or the “The user has decided not to vote” button
Note: Due to mobile version we have duplicate ids, so using classes for
the menu items to hide them without errors
Note2: We are only hidding the menu item, if there are votable polls,
otherwise the “Confirm vote” button does not appear, and there is no
way of going back to help the next person that wants to vote
2019-03-06 18:33:07 +01:00
decabeza
0e1bf2188c
Remove unused verification offices url setting
2019-03-06 13:08:35 +01:00
Julian Nicolas Herrero
2f84d17cc9
Merge pull request #3155 from jaflutz/2824-options-display-results-polls
...
Enable options to show stats and results with any type of voter
2019-03-06 11:14:54 +01:00
decabeza
55a2bcb559
Show unfeasible budget investment messages only when valuation finished
2019-03-06 10:46:03 +01:00
Alberto
098f4b6c5f
Merge pull request #3328 from consul/admin-settings
...
Improve Admin settings section
2019-02-27 10:49:54 +01:00
Javier Martín
86a1f5e0ce
Merge pull request #3330 from consul/backport-fix_valuation_tags
...
Fix valuation tags being overwritten
2019-02-26 21:42:58 +01:00
Alberto
6d763df5cb
Merge pull request #3329 from consul/admin-ui
...
[Backport] Improve UX on admin section
2019-02-26 19:13:01 +01:00
Julian Nicolas Herrero
09d4c54c40
Merge pull request #3326 from consul/admin_system_emails
...
[Backport] Show all system emails in Admin section
2019-02-26 15:18:42 +01:00
Javi Martín
4980819528
Fix valuation tags being overwritten
...
When params[:budget_investment][:valuation_tag_list] was not present,
which is the case when updating an investment using the "mark as visible
to valuators" checkbox, we were removing all valuation tags.
Using a virtual attribute to assign the tags only if the parameter is
present simplifies the code in the controller and avoids the issue.
2019-02-26 14:16:10 +01:00
Javier Martín
9fd3c4fb1c
Merge pull request #3321 from consul/backport-fix_random_order
...
Fix random proposals order in the same session
2019-02-26 14:09:24 +01:00