Commit Graph

3606 Commits

Author SHA1 Message Date
Bertocq
fbea920b5c Add new Proposal Share view plus update social share partial to allow no share_title and divider 2017-05-31 10:59:31 +02:00
Bertocq
29f59e2af5 Add create method on proposals controller to redirect to proposal share page with notice after save 2017-05-31 10:59:30 +02:00
Bertocq
b2c79174aa Add new Proposal share endpoint, plus ability for ereryone to use it 2017-05-31 10:59:30 +02:00
rgarcia
1a46b4d4cb fixes conflicts with master 2017-05-31 10:36:38 +02:00
Bertocq
f03e2ec236 Use shared social_share partial on every view that was using duplicated code 2017-05-30 12:39:36 +02:00
Bertocq
f42cec4c41 Create shared partial for Social Share block 2017-05-30 12:25:10 +02:00
Juanjo Bazán
1ae55a59f6 Merge pull request #1560 from bertocq/feature/admin_administrators_management
Administrators management in admin area
2017-05-30 10:44:50 +02:00
decabeza
0622ad1f24 polish budgets investment show back link 2017-05-29 18:01:22 +02:00
Raimond Garcia
9f11e49d79 Merge pull request #1573 from consul/budgets-back-link
adds heading_id on investment show back link
2017-05-29 15:20:05 +02:00
decabeza
e78b675cdf fixes color contrast on close button alerts 2017-05-29 13:22:40 +02:00
decabeza
9663582124 fixes color contrast on officials levels labels 2017-05-29 13:19:28 +02:00
decabeza
9607346e57 adds heading_id on investment show back link 2017-05-29 12:13:24 +02:00
Bertocq
41fb640f92 Add missing data-equalizer-watch attribute
Why:

* There is a data-equalizer attribute on the parent div, and a data-equalizer-watch on a sibiling div, and that breakes both the purpose of those values (Resize child elements of data-equalizer to have the same height. Ref: http://foundation.zurb.com/sites/docs/equalizer.html)

* That lack of attribute was breaking many specs consistently on localhost with phantomjs 2.1.1 on macos sierra (and ubuntu as reported by @amaia)

How:

* Just adding the missing 'data-equalizer-watch' attribute on the div child of the one using 'data-equalizer'
2017-05-29 09:58:37 +02:00
decabeza
0e581896c0 improves message when not enough money 2017-05-26 17:12:21 +02:00
decabeza
a49b206b42 adds help message to how change ballot 2017-05-26 14:55:27 +02:00
decabeza
e31a1ea39e fixes height of participation not allowed message 2017-05-26 14:40:25 +02:00
Bertocq
fe5ddd019b Add logic to prevent the current user from removing himself from the administrator list, and a flash error notice for that scenario 2017-05-25 11:29:39 +02:00
decabeza
9dca1940ab fixes admin geozones tables 2017-05-25 11:12:09 +02:00
decabeza
02055bd09a hides legislation empty tables, improves table styles 2017-05-24 13:34:37 +02:00
decabeza
5aa8017aa8 fixes admin menu active classes 2017-05-24 13:16:12 +02:00
Juanjo Bazán
26b186a740 Merge pull request #1557 from bertocq/feature/newsletter_users_emails_zip
Allow admins to download Newsletter's users emails list in zip
2017-05-24 13:13:34 +02:00
decabeza
664ef9895d adds callout styles on empty content messages 2017-05-24 13:05:27 +02:00
decabeza
9b66dc09ae adds missing i18n 2017-05-24 13:04:32 +02:00
decabeza
5364ec106a fixes headings structure on legislation admin 2017-05-24 13:04:19 +02:00
decabeza
d5d5402ece improves color contrast 2017-05-24 13:03:34 +02:00
decabeza
28e17b870c unifies styles and html code 2017-05-24 13:03:25 +02:00
Juanjo Bazán
0209875516 fixes flaky specs in admin stats 2017-05-24 12:08:29 +02:00
Bertocq
9e74249b02 Always use Time.current (aliases internally to Time.zone.now)
Some specs where breaking close to midnight because 30.years.ago uses zone.now and Time.now.utc.to_date doesn't.
Also this will make all codebase consistent in the way time is deal with
2017-05-24 07:54:57 +02:00
Bertocq
312e229569 Add Administrator management views and en/es translations 2017-05-23 22:50:17 +02:00
Bertocq
9506855a44 Add Admin Administrator route, controller and manage ability for admin users 2017-05-23 22:49:44 +02:00
Alberto Garcia Cabeza
04c33d1327 Improves styles for admin newsletters 2017-05-23 16:49:11 +02:00
rgarcia
9110fdad3a adds translations 2017-05-23 16:46:16 +02:00
rgarcia
80be0c6b65 refactors zip file creation 2017-05-23 16:46:10 +02:00
rgarcia
8f4eec2b8e zips all users with newsletter activated 2017-05-23 16:46:05 +02:00
rgarcia
2a7ff2270e sends zip file with test data 2017-05-23 16:45:34 +02:00
decabeza
78ab48a7f3 removes duplicate admin menu 2017-05-23 13:58:14 +02:00
decabeza
9be616f62c improves admin legislation forms 2017-05-23 13:54:36 +02:00
decabeza
02417be14f improves styles for not open or no processes messages 2017-05-23 13:18:26 +02:00
decabeza
eb3aa00063 removes empty divs 2017-05-23 13:15:53 +02:00
decabeza
260df52a34 uses current css classes 2017-05-23 12:22:57 +02:00
decabeza
bb98da68ae fixes text color contrast 2017-05-23 12:19:40 +02:00
decabeza
c7bdad791e removes key dates svg text 2017-05-23 11:50:11 +02:00
decabeza
063e8ed7a4 fixes subnavigation menu 2017-05-23 11:25:25 +02:00
decabeza
5e0d5fc8c3 Merge branch 'legislation-module-stable' of https://github.com/medialab-prado/consul into medialab-legislation 2017-05-22 18:43:49 +02:00
Juanjo Bazán
bf8651febc Merge pull request #1555 from consul/budgets-results
Budget Results
2017-05-22 17:11:22 +02:00
decabeza
b42533062e Improves styles and i18n for budget results 2017-05-19 17:32:10 +02:00
rgarcia
0b68f3c619 cleans up 2017-05-19 14:07:30 +02:00
rgarcia
e7d92fda43 links results from budget's show 2017-05-19 14:04:46 +02:00
rgarcia
ed5a1cecbb adds budget results 2017-05-19 14:04:46 +02:00
Juanjo Bazán
e922a11aa3 permits fields in management investment creation 2017-05-19 11:32:14 +02:00