decabeza
4498c26ff7
Create helper for active menus and show stats or results on poll subnav
2019-01-24 14:44:11 +01:00
decabeza
62088bc635
Hide poll results and stats to admins
2019-01-24 14:33:41 +01:00
Alberto
ad355d4df6
Merge pull request #3197 from consul/add_progress_bar_dev_seeds
...
[Backport] Add progress bar dev seeds
2019-01-24 12:44:51 +01:00
Javi Martín
0a710a77f2
Add progress bars dev seeds
2019-01-24 12:03:02 +01:00
Javi Martín
7317238382
Reduce the number of locales for milestones seeds
...
Creating records for every locale was taking too long now that CONSUL is
available in 15 languages.
2019-01-24 12:03:02 +01:00
Javi Martín
210ab69197
Add milestone seeds to legislation processs
2019-01-24 12:03:02 +01:00
Alberto
25b56e84ec
Merge pull request #3196 from consul/refactor_milestones_css
...
[Backport] Refactor milestones css
2019-01-24 12:02:15 +01:00
Alberto
227f496f6d
Merge pull request #3195 from consul/milestone_progress_bar
...
[Backport] Manage milestone progress bars
2019-01-24 11:59:24 +01:00
Alberto
c3d77820ab
Merge pull request #3203 from consul/admin-budgets-form
...
[Backport] Show current phase as selected on phase select on admin budgets form
2019-01-23 15:21:19 +01:00
decabeza
75531c6c80
Show current phase as selected on phase select on admin budgets form
2019-01-23 14:30:35 +01:00
Alberto
d4eaa03c52
Merge pull request #3200 from consul/legislation-proposal-new
...
Remove help and recommendations on legislation proposal new form
2019-01-23 14:27:06 +01:00
Manu
abcb96ffda
added test spec for creation of legislative process with image
2019-01-22 16:32:05 -05:00
Julian Herrero
33d6f6c18d
Sort Legislation Processes by descending start date
2019-01-22 18:51:22 +01:00
Yury Laykov
108acde13a
Update images.yml
2019-01-22 17:04:11 +03:00
Yury Laykov
cf56b683fc
Update documents.yml
2019-01-22 17:03:42 +03:00
Yury Laykov
20b84793b3
Update devise.yml
2019-01-22 17:03:18 +03:00
Yury Laykov
680022c44c
Update community.yml
2019-01-22 17:02:48 +03:00
Yury Laykov
d437c8b84c
Update budgets.yml
2019-01-22 17:02:20 +03:00
Yury Laykov
6376f8a565
Update activerecord.yml
2019-01-22 17:01:47 +03:00
Yury Laykov
a0e39d3972
Update verification.yml
2019-01-22 17:01:21 +03:00
Yury Laykov
4c5cbcc397
Update valuation.yml
2019-01-22 17:00:56 +03:00
Yury Laykov
a8170479d6
Update social_share_button.yml
2019-01-22 17:00:29 +03:00
Yury Laykov
172183cc0d
Update settings.yml
2019-01-22 17:00:01 +03:00
Yury Laykov
13fc369776
Update seeds.yml
2019-01-22 16:59:35 +03:00
Yury Laykov
8bb8e4055c
Update responders.yml
2019-01-22 16:59:05 +03:00
Yury Laykov
cb72615f13
Update rails.yml
2019-01-22 16:58:27 +03:00
Yury Laykov
c77a3782c3
Update pages.yml
2019-01-22 16:57:59 +03:00
Yury Laykov
4143a0ccf5
Update officing.yml
2019-01-22 16:57:33 +03:00
Yury Laykov
dddfa5bf99
Update moderation.yml
2019-01-22 16:57:07 +03:00
Yury Laykov
5e2cf85697
Update management.yml
2019-01-22 16:56:40 +03:00
Yury Laykov
035fc23622
Update mailers.yml
2019-01-22 16:56:07 +03:00
Yury Laykov
f80a6684c1
Update legislation.yml
2019-01-22 16:55:39 +03:00
Yury Laykov
df15763ff5
Update kaminari.yml
2019-01-22 16:55:08 +03:00
Yury Laykov
5f896e6311
Update general.yml
2019-01-22 16:53:57 +03:00
Yury Laykov
20c410bb36
Update devise_views.yml
2019-01-22 16:53:08 +03:00
Yury Laykov
518be4386e
Update admin.yml
2019-01-22 16:51:36 +03:00
decabeza
f5c7065d90
Remove help and recommendations on legislation proposal new form
2019-01-22 11:52:25 +01:00
Manu
bf219a0a43
schema.rb changes
2019-01-21 12:02:27 -05:00
Manu
14d64e94d0
rspec tests were added for the process banner
2019-01-21 12:02:27 -05:00
Manu
b462b7131e
validations were added for the process banner
2019-01-21 12:02:27 -05:00
Manu
d08fc08769
added i18n to process form
2019-01-21 12:02:27 -05:00
Manu
b6cfe92d76
fixed banner styles issues
2019-01-21 12:02:27 -05:00
Manu
37edfb94a4
changed h4 instead of h3
2019-01-21 12:02:27 -05:00
Manu
1e020f4df8
use banners js in new legislative process
2019-01-21 12:02:27 -05:00
Manu
e5cba7ac2e
removed wrong tables from schema.rb
2019-01-21 12:02:27 -05:00
Manu
bd4e12112d
Add image to legislation processes and banner colors
2019-01-21 12:02:27 -05:00
Javi Martín
486100bf53
Add specs for custom page cards
2019-01-21 10:40:24 -05:00
Javi Martín
2926e4e375
Fix managing widget cards for homepage
...
The condition `params[:page_id] != 0` didn't work properly when editing
the homepage because in that case the parameter was `nil`, and the line
`SiteCustomization::Page.find(@card.site_customization_page_id)` raised
an exception because it couldn't find a page with a `nil` ID.
Fixing the issue while maintaining the check against `0` lead to complex
code, and so allowing `nil` in the database and assuming cards with no
`site_customization_page_id` belonged in the homepage seemed to be the
easiest solution.
2019-01-21 10:40:14 -05:00
Javi Martín
9c050ca6bd
Extract method to redirect when managing cards
2019-01-21 10:40:04 -05:00
Javi Martín
8a643c72e7
Use I18n for card notice messages
2019-01-21 10:39:42 -05:00