Commit Graph

3822 Commits

Author SHA1 Message Date
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
Alberto Miedes Garcés
18db68a430 Force pagination, limit query depth and complexity 2017-05-29 09:47:39 +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
Juanjo Bazán
f0d7acd087 Merge pull request #1550 from consul/budgets-unfeasible
Investments reclassified as unfeasible
2017-05-18 14:37:32 +02:00
rgarcia
a63ca9649e cleans up 2017-05-17 20:32:05 +02:00
Alberto
8167203e6e Merge pull request #1546 from consul/no-money-error
Fix no money error
2017-05-17 17:36:20 +02:00
Juanjo Bazán
cb889e620a Merge pull request #1548 from consul/seo-canonical
SEO canonical & nofollow
2017-05-17 17:33:39 +02:00
decabeza
2b4a50c56b changes rel canonical if budget heading is not present 2017-05-17 16:58:50 +02:00
rgarcia
47f97e342d extracts reclassification to a module 2017-05-17 15:18:39 +02:00
Juanjo Bazán
d08af6193e changes unselected scope to include undecided feasibility 2017-05-17 15:13:29 +02:00
rgarcia
42f62e5c36 stores reclassified votes 2017-05-17 15:13:28 +02:00
decabeza
e80cb2ac02 adds rel nofollow on external footer links 2017-05-17 14:20:30 +02:00
decabeza
b9b8065119 fixes faq's page extension 2017-05-17 14:18:18 +02:00
decabeza
12ebb97a93 adds rel canonical on static pages 2017-05-17 14:17:41 +02:00