Commit Graph

405 Commits

Author SHA1 Message Date
decabeza
9b95870c12 Remove empty div 2019-03-19 16:41:49 +01:00
Julian Herrero
25ed245689 Use double quotes in app/views/layouts 2019-03-19 12:16:50 +01:00
decabeza
ccee843da7 Remove unused settings
These settings are customised for Madrid's fork. On CONSUL any user can include new links using site customisation content blocks from admin panel.
2019-02-18 15:40:11 +01:00
Alessandro Cuoghi
36abba15e6 Dashboard proposals stats V.2
- Found new solution to show dashboard proposals stats
- Added new class for behaviour change in the medium version
- Moved the progress bar to the bottom
- Moved below by adding counter-label class to the text support
- Added class to support text to push under the counter
2019-02-02 17:33:55 +01:00
Alessandro Cuoghi
e0fa82a533 Change layout dashboard proposals stats
Created new layout to avoid text jump support
2019-02-02 17:33:55 +01:00
Julian Herrero
d77183ee09 Improvement - CRUD budgets and content blocks 2019-01-14 12:59:48 +01:00
decabeza
546105d989 Merge branch 'master' into dashboard-master 2018-10-19 01:48:37 +02:00
decabeza
84975143bb Removes dashboard mailer layout 2018-10-13 12:59:24 +02:00
decabeza
aaaaa00807 Adds styles to dashboard layouts, progress, show and partials 2018-10-05 18:04:30 +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
Juan Salvador Pérez García
488e7e081f Merge branch 'dashboard' into rebase_consul_master 2018-09-27 09:18:27 +02:00
Juan Salvador Pérez García
42d448248c Routes have been refactored
Dashboard routes have been refactored. Now instead of having resources
for dashboard and routes inside a dashboard namespace the proposal
routes contain a dashboar singleton containing everything related to it.
2018-09-17 15:44:45 +02:00
decabeza
a2bf8a85f4 Fixes logo header on devise layout 2018-07-31 18:08:09 +02:00
decabeza
076f9dd474 Moves back link to root path from dashboard to header 2018-07-31 12:47:51 +02:00
decabeza
e14b7b67fb Removes custom content on footer 2018-07-30 17:59:33 +02:00
Alberto
65e4435822 Merge pull request #2137 from wairbut-m2c/iagirre-admin-menu-in-management
Add admin menu in management view (if user is admin)
2018-07-27 12:35:07 +02:00
Juan Salvador Pérez García
8876b285ce Fixes #229
Adds email feature for proposals dashboard
2018-07-25 13:28:44 +02:00
Juan Salvador Pérez García
e5f9cf6710 Fixed #239
Proposals dashboard refactored to dashboard.
Added missing specs for the dashboard.
2018-07-24 15:52:43 +02:00
decabeza
dcec003d0e Updates header markup and includes new logo 2018-07-20 18:50:49 +02:00
Juan Salvador Pérez García
0adecfa95e Fixes #208
Changes in feature view.
2018-07-17 17:59:12 +02:00
Juan Salvador Pérez García
a872c5b5df Fixes #200
Adds settings to complete the polls card and feature view.
2018-07-17 17:59:11 +02:00
Juan Salvador Pérez García
53baf983b5 Implements #169
Community counter now shows the community members. For performance
reasons this information is refresed once per hour.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
6baabf2a7e Fixes #171
Button that redirects to proposal in the proposals dashboard now:

* opens the proposal in a different tab.
* Text shown will be 'preview proposal' for proposals in draft state.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
084e9855e4 Fixed some failing specs 2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
59eb1a4f47 Adds progress indicator 2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
50d4523ded Current goal indicator
Indicator with current goal and the supports required to achieve it has
been added
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
a22027a343 Added button that redirects to the proposal
Dashboard header includes a button that redirects to the proposal.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
cc3802746b Added totals counter
Added totals counter to dashboard header
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
64cf7c1257 Body header
Body header contains the proposal name, a label with its status and an
action title.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
d2a05ee779 Dashboard proposal menu redesign
Dashboard proposal menu has been redesigned to look like the available
mock-ups.
2018-07-17 17:57:30 +02:00
Juan Salvador Pérez García
89f3da25b9 Implements #138 and #139
Implements graph with supports for the given  period.
2018-07-17 17:52:47 +02:00
Juan Salvador Pérez García
212c088d35 Implements #144
Creates the basic layout for the dashboard
2018-07-17 17:47:40 +02:00
iagirre
2fafceb81d Errors after running Travis fixed 2018-07-15 17:35:30 -04:00
iagirre
7a7ae5fa2e The admin menu is shown in the management section if the user who logged in is an admin 2018-07-15 17:32:30 -04:00
iagirre
81d8b9b9ed Admin menu added to management 2018-07-15 17:31:21 -04:00
Javier Martín
0cf50d8116 Rename partial to diable animations in tests.
With this name, it's easier to understand what it does.
2018-06-26 16:04:13 +02:00
Javier Martín
a972e7b978 Don't use CSS animations when testing.
Just like jQuery animations, they can make tests fail when using
Capybara.
2018-06-24 02:51:52 +02:00
Javier Martín
9198b1af03 Skip jQuery animations in all layouts when testing. 2018-06-24 02:50:25 +02:00
Javier Martín
6e4f697cea Extract partial with common <head> tags. 2018-06-24 02:43:59 +02:00
Javier Martín
6245942196 Don't use jQuery animations in tests.
There's a flaky test creating a group for a budget which takes place
because toggling a form using jQuery sometimes results in the button not
being correctly clicked by Capybara.

Checking the page with `expect(page).to have_button 'Create group'`
before clicking the button doesn't solve the problem; it looks like in
those cases Capybara waits for AJAX requests but not for JavaScript
animations.

See also issue #2573.
2018-06-23 19:58:20 +02:00
decabeza
804fabdc25 Fixes admin menu toggle 2018-06-22 13:56:25 +02:00
decabeza
ca5d0f5e8c Fixes styles of management layout header 2018-06-08 18:32:40 +02:00
decabeza
b2015312d8 Moves mailer header and footer to partials
This prevent use the entire HTML layout, an HTML inside another HTML
without using an iframe create some validation errors and break layout
details
2018-06-06 17:33:15 +02:00
decabeza
55c3c79879 Updates admin top bar html and styles 2018-06-06 12:01:16 +02:00
decabeza
fcae2c0ac2 Updates top bar html and styles 2018-06-06 12:00:39 +02:00
decabeza
50fd540797 Adds styles and missing i18n for admin homepage 2018-05-28 18:17:26 +02:00
Bertocq
92c9ad4e1b Add Notifications partial to admin menu 2018-03-23 11:48:43 +01:00
rgarcia
09c44ee583 Extend notifications to be marked as read and unread 2018-03-23 11:47:06 +01:00
decabeza
46744d95ac fixes admin login items menu on mobile size for admin panel 2017-10-17 13:31:17 +02:00
decabeza
ea3187ff80 fixes header on management panel 2017-10-17 13:26:53 +02:00