Bertocq
a683fcff98
Refactor notification partials and index view
...
The notification body has been extracted to a new partial to allow
notifications without link to be rendered without needing an if-else
duplicating view code.
Note the `link_to_if` at _notification partial, as well as the optional
body attribute.
2018-07-25 18:31:41 +02:00
Marko Lovic
c991d9e7c7
Fix typo in i18n key
2018-07-25 17:28:14 +02:00
María Checa
e9d73eb687
Fix max_per_heading filter in Admin budget investments list
...
Also changed the name of the param to `min_total_supports`, which is more descriptive on what it actually does.
Backport of 75f20d5 and 07f0806 from AyuntamientoMadrid/consul fork
2018-07-25 15:44:51 +02:00
Marko Lovic
5413c34458
Restructure and rename translations
...
Based on 012e4be by María Checa from AyuntamientoMadrid/consul fork
2018-07-25 15:10:09 +02:00
Alberto
61589122ef
Merge pull request #2723 from wairbut-m2c/backport_2400_combine_free_text_search_and_filters
...
Combine text search and filters for Investments on Admin panel
2018-07-25 14:42:19 +02:00
Alberto
c63fd5ada1
Merge pull request #2776 from consul/ui-custom
...
UI custom
2018-07-23 11:39:19 +02:00
Angel Perez
f063391e41
Add missing thead & tbody tags on investments moderation index
2018-07-20 18:42:34 -04:00
Angel Perez
7f70106299
Fix page entries information positioning for investments moderation
2018-07-20 18:42:34 -04:00
Angel Perez
c64e93867a
Allow moderators to moderate investments
2018-07-20 18:42:34 -04:00
Angel Perez
4da23716bb
Allow admins to moderate investments
2018-07-20 18:42:34 -04:00
Angel Perez
1990092fdf
Allow moderators to hide inappropriate investments
2018-07-20 18:42:33 -04:00
Angel Perez
8ef3e81e03
Adapt public views for flagging/unflagging investments
2018-07-20 18:42:33 -04:00
decabeza
dcec003d0e
Updates header markup and includes new logo
2018-07-20 18:50:49 +02:00
Alberto
bc5d263a53
Merge pull request #2761 from wairbut-m2c/backport_1384-add-max-heading-number-budget-group-list
...
Backport 1384 add max heading number budget group list
2018-07-20 13:17:38 +02:00
Alberto
1f821a6540
Merge pull request #2714 from wairbut-m2c/fix/admin-menu-string-literal
...
Fix string literal warning for admin menu
2018-07-20 12:41:13 +02:00
Angel Perez
a143fa447b
Ensure recommendations are only shown when enabled
2018-07-15 21:28:58 -04:00
Angel Perez
463c753880
Recommendations are automatically disabled if dismissed by user
2018-07-15 21:28:58 -04:00
Angel Perez
054bc1397b
Wrap recommendations settings checkboxes with label helper to improve A11y
2018-07-15 21:28:58 -04:00
Angel Perez
251441e109
Users can now hide recommendations
2018-07-15 21:28:57 -04:00
Angel Perez
a58f6a2662
Enable 'Recommended proposals' setting for users
2018-07-15 21:28:57 -04:00
Angel Perez
522c206f6d
Enable 'Recommended debates' setting for users
2018-07-15 21:28:57 -04:00
decabeza
bdb3f30e40
Adds recommendations on proposals index
2018-07-15 21:28:57 -04:00
decabeza
36a5ff39b8
Adds recommendations on debates index
2018-07-15 21:28:57 -04:00
decabeza
ecb0041b7f
Adds recommended index partial and styles
2018-07-15 21:28:56 -04: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
Alberto
38916deb0b
Merge pull request #2765 from consul/budgets-polls-ui
...
Polls UI
2018-07-13 20:01:40 +02:00
decabeza
bbaec57c8a
Adds message in budget investment show if project is winner
2018-07-13 18:37:16 +02:00
decabeza
1116340f99
Removes participate in other polls button
2018-07-13 18:27:32 +02:00
iagirre
f871868a2b
Max headings are updated when editing heading
...
The max headings label is updated automatically
when updating the heading. It is done via AJAX
and a refresh isn't needed.
2018-07-13 11:46:09 +02:00
Bertocq
1f0ee32998
Add max headings label on Group list
2018-07-13 11:46:09 +02:00
iagirre
0d9da5398b
Fix banners in user pages
...
Banners were not been shown in certain pages; now
they are.
Spec to check if the banner is been shown correctly
added. Before it was in admins specs, now it has it's
own spec out of admins folder.
2018-07-12 10:17:25 -04:00
iagirre
82cb8d4c52
Changes suggested in PR:
...
* Delete all things related to banner images and styles (in code)
* Add a new test to check that the banner is showing correctly
* Update the specs accordingly to match the changes
Update dev_seed to set a random background_color and a font_color for banners (and remove everything about image and style)
Add a rake task to migrate the banner style to backgroun_color and font_color (so that the banners have the same colors than before)
2018-07-12 10:17:24 -04:00
iagirre
58caf167f6
Make color-pickers smaller
2018-07-12 10:16:47 -04:00
iagirre
3690cae458
Apply banner style to the new banners
...
Banner sections can be saved (one banner can appear in several sections)
If the hex color is changed in the textfield, the color of the color picker changes.
2018-07-12 10:16:47 -04:00
iagirre
6d6da8affc
Add form fields to set the colours and the sections for the banner
...
Add migrations to store the information in the database
2018-07-12 10:16:47 -04:00
Raimond Garcia
a3a5971cbf
Merge pull request #2696 from javierv/2573-fix_flaky_budgets_spec
...
Fix flaky spec: Admin budgets Manage groups and headings Create group
2018-07-12 16:04:06 +02:00
Alberto
c5c611837d
Merge pull request #2732 from consul/legislation-help-gif
...
Legislation help gif
2018-07-11 17:44:12 +02:00
decabeza
9ecb4f4f22
Fixes heading name on budgets index view
2018-07-05 18:14:15 +02:00
decabeza
2b958de992
Fixes valuation budget investments ui
2018-07-05 18:14:08 +02:00
decabeza
6f4f161076
Adds help gif on legislation processes with texts
2018-07-05 18:10:06 +02:00
Alberto
95f66aefe6
Merge pull request #2726 from consul/officing-no-vote
...
Officing not to vote
2018-07-05 17:07:10 +02:00
decabeza
2f922e1adb
Adds button to officing voters if person decided not to vote
2018-07-05 14:12:22 +02:00
Alberto
e201de6ac9
Merge pull request #2725 from consul/officer-shifts
...
Officing sidebar menu
2018-07-05 11:08:42 +02:00
decabeza
16ff5c4400
Hides sidebar menus if officer has no shifts assigned
2018-07-04 17:22:03 +02:00
decabeza
8900b1ffce
Shows flag actions div only if user can hide
2018-07-04 17:14:29 +02:00
decabeza
abf0fe992e
Removes tablist and tab roles
2018-07-04 17:14:24 +02:00
Raúl Fuentes
df899cde6e
Fixed html, now it reflects the current search also added serach by name or id to the Budget::Invesment search function
2018-07-04 11:55:13 +02:00
Raúl Fuentes
c9f31b8e1e
Refactor Admin::Budget::Investment search form to use one form tag
2018-07-04 11:55:13 +02:00