Alessandro Cuoghi
2e9973cd4a
Add new texts
...
- Changed texts
- Fixed Spec
2019-02-04 16:20:44 +01:00
Alessandro Cuoghi
af71ef0c35
Add style
...
- Inverted h2 with h3
- Add strong tag
2019-02-04 16:20:35 +01:00
Alessandro Cuoghi
980f0d4283
Allow toggle for pending proposal and done proposal
2019-02-04 16:14:58 +01:00
Alessandro Cuoghi
4d242bf50d
Add toggle description to proposed action
2019-02-04 16:14:50 +01:00
taitus
487c485fe0
Add new section on sidebar menu for recommended proposals
...
- Display recommended_proposals on new section as goals with toogle.
- Divide recommended actions into actions done and actions pending to clarify the information to the user as summary_recomended_actions.
2019-02-04 11:48:47 +01:00
taitus
45afbc0b10
New summary for recommended actions section on progress page
...
- Divide recommended actions into actions done and actions pending.
- Display recomended actions as goals (diplay four by defalut) without toggle but with link to new recommended actions page.
- Display description over short_description
2019-02-04 11:39:04 +01:00
decabeza
546105d989
Merge branch 'master' into dashboard-master
2018-10-19 01:48:37 +02:00
Alberto
3878946c9e
Merge pull request #2823 from consul/remove-guides
...
Removes guide feature
2018-10-18 13:19:33 +02:00
decabeza
4db54092e6
Removes unrelated dashboard changes
2018-10-18 01:26:07 +02:00
Javi Martín
6f96265a0b
Bring back CKEditor images button
...
It was accidentally deleted in commit 914bfa6 .
Note the following spec passes on my machine if we add a `sleep 0.1`
call in the `:wait_readable` part of ruby's `Net::Protocol#rbuf_fill`.
Otherwise, it hangs forever after clicking the `.fileupload-file` div,
which closes its window. It might be solved when upgrading rails,
capybara, selenium or chromedriver.
scenario "Allows images in CKEditor", :js do
visit edit_admin_site_customization_page_path(custom_page)
within(".ckeditor") do
within_frame(0) { expect(page).not_to have_css("img") }
expect(page).to have_css(".cke_toolbar .cke_button__image_icon")
find(".cke_toolbar .cke_button__image_icon").click
end
within_window(window_opened_by { click_link "Browse Server" }) do
attach_file :file,
Rails.root.join('spec/fixtures/files/clippy.jpg'),
visible: false
find(".fileupload-file").click
end
click_link "OK"
within(".ckeditor") do
within_frame(0) { expect(page).to have_css("img") }
end
end
2018-10-17 19:39:37 +02:00
Alberto
938494aef5
Merge pull request #2972 from consul/dashboard-pdf
...
Dashboard PDF
2018-10-17 17:19:29 +02:00
decabeza
dbf41421ed
Removes guide feature
2018-10-17 14:58:29 +02:00
Alberto
e08f031be6
Merge pull request #2971 from consul/dashboard-mailer
...
Dashboard mailer
2018-10-17 01:18:13 +02:00
decabeza
bd1ba2bc78
Adds styles to dashboard poster
2018-10-17 01:12:09 +02:00
decabeza
79ecbb225e
Improves styles for admin links views
2018-10-13 13:20:13 +02:00
decabeza
c33d9fa97b
Improves styles for dashboard mailer forward
...
Uses layout with tables and inline styles to avoid display errors in mail readers
2018-10-13 13:03:02 +02:00
decabeza
5d00952b05
Improves styles for dashboard mailer preview
2018-10-13 13:01:38 +02:00
decabeza
84975143bb
Removes dashboard mailer layout
2018-10-13 12:59:24 +02:00
decabeza
f0ef7c7e30
Improves styles for admin dashboard settings
2018-10-11 17:50:14 +02:00
decabeza
670eb52d6f
Improves styles for admin dashboard administrator tasks views
2018-10-11 17:47:15 +02:00
decabeza
83634c992a
Improves styles for admin dashboard actions views
2018-10-11 17:45:37 +02:00
decabeza
e9a5580f9a
Adds styles to dashboard mailing views
2018-10-05 18:45:58 +02:00
decabeza
d38ef88b06
Adds styles to dashboard poster views
2018-10-05 18:38:17 +02:00
decabeza
fcb6e67ced
Adds styles to proposals views
2018-10-05 18:10:10 +02:00
decabeza
aaaaa00807
Adds styles to dashboard layouts, progress, show and partials
2018-10-05 18:04:30 +02:00
decabeza
57b9f54647
Adds styles to dashboard menu
2018-10-05 17:55:42 +02:00
decabeza
f3ca53c698
Adds styles to dashboard polls views
2018-10-05 17:53:07 +02:00
decabeza
76ec44a810
Adds styles to communities views
2018-10-05 17:46:45 +02:00
decabeza
0d8c9c289a
Removes closed message on legislation proposals votes
2018-10-04 16:32:32 +02:00
Javi Martín
0945f046a3
Avoid using xpath in specs
...
Using xpath is usually harder to read and more fragile.
2018-10-04 16:31:00 +02:00
Javi Martín
4c84a3a854
Move logic from view to helper
2018-10-04 16:31:00 +02:00
Javi Martín
d9410a132a
Always show filters for legislation proposals
...
As done in the rest of the application: we show the filters even if
there isn't any data to display.
2018-10-04 16:31:00 +02:00
Javi Martín
75d1ab1e52
Use AJAX requests to select legislation proposals
...
Now the interface is more similar to the one in budget investments.
2018-10-04 16:29:01 +02:00
Javi Martín
667c2c82b5
Use toggle_select action for legislation proposals
...
The `update` action is usually expected to behave the same way it does
everywhere else, which is updating a record using the `params` hash.
The name `toggle_select` comes from the name we use in a similar
situation for budget investments.
2018-10-04 16:29:01 +02:00
Javi Martín
806b1fb3ca
Extract select proposal button into a partial
2018-10-04 16:29:01 +02:00
Javi Martín
9df201780d
Extract proposals table into a partial
2018-10-04 16:29:01 +02:00
Raúl Fuentes
05340e423c
Add select to Legislation::Proposals
...
Add admin interface for mark any proposal as selected
Add filter to public interface for selected proposals
2018-10-04 16:28:56 +02:00
Javi Martín
acbf20c938
Extract partial for proposals content
2018-10-03 22:07:55 +02:00
Javi Martín
f93281fd02
Extract link text to a helper
...
This way we can use the same code in custom views which won't use the
same text.
2018-10-03 22:06:20 +02:00
Javi Martín
5ab8587ad2
Use absolute translation paths
...
Using `t(.empty_proposals)` IMHO is a bit dangerous because we'd need to
change the locale files if we move the code to a partial or rename the
file.
2018-10-03 22:05:33 +02:00
Bertocq
c04b0ceda4
Add pagination to legislation process proposals list
2018-10-03 13:46:32 +02:00
Bertocq
599ddf8f41
Create @proposal variable con process controller for proposals list that use random seed
2018-10-03 13:40:59 +02:00
Javier Martín
132fea9c94
Merge pull request #2913 from papayalabs/2741-updates-translatable-custom-pages-reloaded
...
Updates translatable custom pages
2018-10-03 13:23:13 +02:00
Javier Martín
2775ae2b50
Merge pull request #2924 from consul/backport-1588-make-homepage-content-translatable
...
Make homepage content translatable
2018-10-03 13:20:49 +02:00
Alberto
857f747ab8
Merge pull request #2922 from consul/legislation-proposals-imageable
...
Legislation proposals imageable
2018-10-02 11:22:19 +02:00
decabeza
aa76251d1d
Adds image to legislation proposals views
2018-10-01 16:49:22 +02:00
Juan Salvador Pérez García
92c0e34c7a
Fixed error in layout
...
An error was introduced while trying to fix merge conflicts. It is fixed
now.
2018-10-01 10:13:45 +02:00
decabeza
dd11a040a6
Adds setting to enable or disable help page
2018-09-28 18:59:28 +02:00
Papaya Labs
5a4b9b0810
Remove trailing whitespaces
2018-09-27 14:36:23 +02:00
Papaya Labs
914bfa645e
Updates translatable custom pages
2018-09-27 13:46:17 +02:00