Commit Graph

5558 Commits

Author SHA1 Message Date
iagirre
0fb7d13229 Add admin UI to Restore/Confirm moderation of notifications
Add the admin UI needed to restore the hidden proposal notifications
when hidden by moderator. The admin can restore them or confirm
the moderation made by moderator, just like proposals.
2018-07-02 18:19:19 +02:00
iagirre
88a8aaa083 Add hide button in the user interface
The little menu with the hide notification link and block user link
has been added to each proposal notification.

JS for adding the fade efect has also been added.
2018-07-02 18:19:08 +02:00
iagirre
12ccf466f9 Add the index to moderate the notifications
Add the index for moderating the notifications. The tranlations needed
have also been added, along with the JS to make it disappear at that moment.
2018-07-02 18:18:01 +02:00
iagirre
f58bc5d886 Add the menu entry for prop. notifications
A new menu for the sidebar has been added, so that the moderator
can access to the index from the menu.
2018-07-02 18:17:56 +02:00
iagirre
21b1d00205 Add backend for the moderators
Add new routes for the proposal notifications edition and
abilities to let moderators edit it (mark as ignored, hide, etc.).

The notifications are not flaggable because they doesn't work like that,
but in a similar way. The moderator/administrator is in charge of hidding
them through the UI, so the normal users don't flag it as inappropriate.

New controller Moderation::ProposalNotification to manage the moderators
work.
2018-07-02 18:17:45 +02:00
decabeza
d683a6cd6b Adds styles to budget investment milestone status and fixes spec 2018-06-27 19:28:43 +02:00
María Checa
a5d0c2f6c8 Changed Budget::Investment::Milestone views 2018-06-27 18:23:34 +02:00
María Checa
551e2bb1c4 Changed Budget::Investment::Milestones model
Added relation with Status and set condition to validate milestone's description presence if there's no status set.
2018-06-27 18:19:33 +02:00
María Checa
29dadc91ac Change Budget::Investment::Milestones controller
Added `:status_id` to valid params and new method to get all statuses defined for the budget.
2018-06-27 18:19:29 +02:00
María Checa
3a163b39c8 Add Budget::Investment::Statuses views 2018-06-27 16:45:44 +02:00
María Checa
2cb59260e9 Add Budget::Investment::Statuses controller and routes 2018-06-27 16:44:58 +02:00
María Checa
87b13bab72 Add Budget::Investment::Statuses model 2018-06-27 16:44:48 +02:00
Bertocq
3e75bd4dfd Fix Valuation Investment index heading filters
Why:

Heading filter where not being correctly displayed

How:

Increasing scenario to cover all possible combinations, and fixing the
heading_filters method of the Valuation Budget Investment Controller to
correctly:
  * Find how many investments the valuator can access
  * Count investments for each heading
2018-06-27 14:30:09 +02:00
decabeza
de6d919ff0 Fixes scss lint warning 2018-06-22 18:01:39 +02:00
decabeza
6477983a85 Adds card hover effect 2018-06-22 18:01:28 +02:00
decabeza
79eea245a4 Adds gradient overlapping card image 2018-06-22 18:01:12 +02:00
Alberto
5bada5bde6 Merge pull request #2692 from consul/admin-menu-toggle
Fixes admin menu toggle
2018-06-22 17:34:23 +02:00
decabeza
5afe255c1b Adds data-equalizer to fix height on homepage cards 2018-06-22 14:02:51 +02:00
decabeza
804fabdc25 Fixes admin menu toggle 2018-06-22 13:56:25 +02:00
decabeza
56ee33d947 Removes content pending to backport 2018-06-08 19:46:07 +02:00
decabeza
85efdfbf47 Restores removed columns 2018-06-08 19:00:21 +02:00
rgarcia
3e330193d4 Fix select investment specs
The select button seems to be outside the window. Removing some columns
to make the select button visible by capybara

This is just a temporary fix, we have to find a better solution.
Playing with the css to find an appropriate length for the table
containing this select button, is probably the way to go
2018-06-08 18:59:57 +02:00
decabeza
0858b3103a Shows always show to valuators on investments table 2018-06-08 18:48:58 +02:00
decabeza
4fca07172c Reorders and improve i18n for legislation processes form 2018-06-08 18:45:52 +02:00
decabeza
573a7e7c13 Moves content blocks info to index view 2018-06-08 18:45:45 +02:00
decabeza
bf4d1cd8e2 Adss missing th on legislation processes index table 2018-06-08 18:45:10 +02:00
decabeza
bcd678c646 Removes hollow class on moderators and valuators buttons 2018-06-08 18:40:26 +02:00
decabeza
a669bd86a8 Improves layout and i18n for admin newsletters 2018-06-08 18:38:21 +02:00
decabeza
954a315d70 Removes investments link on admin budgets heading 2018-06-08 18:37:03 +02:00
decabeza
3b08722e08 Removes duplicated link on admin budgets groups 2018-06-08 18:36:56 +02:00
decabeza
ca5d0f5e8c Fixes styles of management layout header 2018-06-08 18:32:40 +02:00
decabeza
156997d936 Removes old help on moderation dashboard 2018-06-08 18:32:26 +02:00
decabeza
28234b333f Improves legislation questions form 2018-06-08 18:32:12 +02:00
decabeza
57ff65692f Improves i18n texts 2018-06-08 18:29:47 +02:00
decabeza
8f6f22815e Removes pending content to backport 2018-06-08 18:28:41 +02:00
decabeza
b3f41eb626 Reorders admin menu sections 2018-06-08 18:26:59 +02:00
decabeza
28a7c03c21 Adds data-tabs on admin poll booth assignments show 2018-06-08 15:15:46 +02:00
decabeza
879b63ae5d Fixes indentation on proposals show 2018-06-08 15:15:08 +02:00
decabeza
67713eb980 Fixes accesskey on subnavigation 2018-06-08 15:14:50 +02:00
decabeza
503a4e0395 Avoids show duplicated budget investment price 2018-06-08 15:14:04 +02:00
decabeza
cce1c82427 Prevents hide content on equalizer container 2018-06-08 15:13:45 +02:00
decabeza
b7fd0f3ab1 Adds debates_path on back link to on debates new 2018-06-08 15:13:15 +02:00
decabeza
354e42526f Adds missing class on proposals show 2018-06-08 15:13:09 +02:00
decabeza
13d1de169d Replaces foundation header-sizes to header-styles 2018-06-08 15:12:50 +02:00
decabeza
c386f777e3 Fixes duplicated data-deep-link-smudge attribute 2018-06-08 15:11:45 +02:00
Alberto
f9940980b0 Merge pull request #2645 from wairbut-m2c/admin-form-improvements-backport
Admin form improvements
2018-06-07 17:44:38 +02:00
Alberto
d8d97b30db Merge pull request #2663 from consul/homepage-custom
Homepage layout
2018-06-06 19:31:51 +02:00
Alberto
f345786cc0 Merge pull request #2622 from consul/selected-investments-map
Adds message to selected budget investments
2018-06-06 19:21:24 +02:00
Alberto
88ff6560ee Merge pull request #2620 from consul/budgets-see-results
Budgets see results
2018-06-06 19:21:04 +02:00
decabeza
ee0bbe42fd Improves homepage layout 2018-06-06 17:42:54 +02:00