Commit Graph

3574 Commits

Author SHA1 Message Date
decabeza
e983c5708e adds missing i18n 2017-06-07 18:26:52 +02:00
Juanjo Bazán
16edbf15a2 Merge pull request #1620 from consul/medialab-legislation
Adds Collaborative Legislation
2017-06-07 18:06:15 +02:00
rgarcia
792b15b224 Merges annotations 2017-06-07 14:58:34 +02:00
decabeza
4f5c163036 removes duplicated abbr border bottom 2017-06-02 16:41:35 +02:00
decabeza
d3b7eceba9 fixes footer links 2017-06-02 16:40:44 +02:00
Juanjo Bazán
acd7b76f49 Merge pull request #1583 from consul/seo-improvements
SEO improvements
2017-05-31 14:21:14 +02:00
decabeza
773f3d658a includes proposal summary as meta description 2017-05-31 13:58:51 +02:00
decabeza
b4121f0d27 removes h2 tag on social share partial 2017-05-31 13:53:06 +02:00
decabeza
6b520d7978 changes order of tag_cloud on proposals sidebar 2017-05-31 13:45:38 +02:00
decabeza
0c64807ec7 adds title on top links 2017-05-31 13:31:36 +02:00
decabeza
9b05143e73 adds new title on footer links 2017-05-31 13:21:06 +02:00
decabeza
ae879c0cb2 adds title on subnavigation links 2017-05-31 13:19:36 +02:00
decabeza
002f555fc1 improves text and titles of social network links 2017-05-31 13:18:50 +02:00
decabeza
4dedacc82f removes rel nofollow on social networks links 2017-05-31 12:56:25 +02:00
decabeza
c01a2150b9 removes images on welcome page 2017-05-31 12:55:10 +02:00
Bertocq
cf8bc486e4 Rename proposal_improvement_url to proposal_improvement_path to truly describe the value that the variable holds 2017-05-31 12:51:01 +02:00
Bertocq
438aaa65f6 Merge author param into Proposal building at proposal controller create action 2017-05-31 11:10:27 +02:00
Bertocq
520563d54f Add proposal improvement info link to share page, and make it option through Setting variable 2017-05-31 10:59:31 +02:00
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