Commit Graph

11379 Commits

Author SHA1 Message Date
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
Alberto
858faa481c Merge pull request #3198 from consul/budget-text
[Backport] Update budgets confirm group es translation
2019-01-18 17:55:31 +01:00
decabeza
908afb5f32 Update budgets confirm group es translation 2019-01-18 17:02:32 +01:00
Manu
162b61f94c updated test file for cards 2019-01-18 09:54:43 -05:00
Manu
bff3a3b379 use relation between cards and page models 2019-01-18 09:54:43 -05:00
Manu
238ddc2595 fixed trailing whitespace hound alert 2019-01-18 09:54:43 -05:00
Manu
142a0403d6 added new scss class 'custom-page' 2019-01-18 09:54:43 -05:00
Manu
86d75767e8 change h3 tag to h2 and added title of the custom page which we are adding the cards 2019-01-18 09:54:43 -05:00
Manu
26db37a17f fixed wrong menu selection inside site content 2019-01-18 09:54:43 -05:00
Manu
7657a0e0b4 added i18n text to custom pages cards 2019-01-18 09:54:43 -05:00
Manu
5627d2cf23 added associations between cards and pages models 2019-01-18 09:54:43 -05:00
Manu
2dd953bdfd added hound corrections and removed wrong tables form the schema.rb 2019-01-18 09:54:43 -05:00
Manu
722a431b54 Add cards to custom pages 2019-01-18 09:54:43 -05:00
Javi Martín
fb72fc48fd Simplify milestones styles for small devices
The selector `nth-child(even)` didn't need specific rules, and it's
easier to understand the code for the selector `nth-child(odd)` if all
breakpoints are grouped together.
2019-01-18 14:26:17 +01:00
Javi Martín
46296b702e Group milestone content CSS rules together 2019-01-18 14:26:11 +01:00
Javi Martín
39c8d431f8 Group milestones timeline li CSS rules together 2019-01-18 14:26:08 +01:00