Javi Martín
c66a5a30ef
Allow using table actions in different namespaces
...
This way we can reuse it in sections like SDGManagement and URLs will be
automatically generated as expected.
2021-01-14 17:35:38 +01:00
Javi Martín
a42cb050a7
Add SDG content section
2020-12-02 12:38:03 +01:00
Javi Martín
d501915954
Extract admin menu to a component
...
This way adding new methods will be easier.
2020-11-26 12:15:07 +01:00
Javi Martín
fc3a7618b1
Simplify method to render admin menu
...
The `side_menu` helper method isn't necessary since commit 13b3d9cebc .
2020-09-21 15:14:20 +02:00
Javi Martín
4a5d4b3c0b
Group investment search form methods together
...
We had helper methods all over the place which were only used in one
view. Since we're going to change some of them to use the budget as a
parameter, they don't belong in those helpers anymore.
Note the method `budget_heading_select_options` is used in more places,
so we're keeping it where it was.
2020-09-08 18:35:16 +02:00
Javi Martín
438a751599
Rename admin proposal notifications controller
...
To be consistent with all the other controllers dealing with hidden
content, we use the word "hidden" in the controller class.
2020-06-16 19:40:04 +02:00
Javi Martín
00484fe5f7
Fix Polls link in admin menu
...
The link was marked as active and hidden by foundation when we were in
the "Booths Assignments" section.
2020-02-05 22:16:16 +01:00
Javi Martín
eafb4018bf
Apply Style/CollectionMethods rubocop rule
...
We were already using `map` and `reduce` almost everywhere.
2019-10-26 13:03:49 +02:00
Javi Martín
db97f9d08c
Add and apply rubocop rules for empty lines
...
We were very inconsistent regarding these rules.
Personally I prefer no empty lines around blocks, clases, etc... as
recommended by the Ruby style guide [1], and they're the default values
in rubocop, so those are the settings I'm applying.
The exception is the `private` access modifier, since we were leaving
empty lines around it most of the time. That's the default rubocop rule
as well. Personally I don't have a strong preference about this one.
[1] https://rubystyle.guide/#empty-lines-around-bodies
2019-10-24 17:11:47 +02:00
Javi Martín
f9ed186909
Add rubocop spacing rules
...
We were following these rules in most places; we just didn't define them
anywhere.
2019-09-10 21:04:56 +02:00
Senén Rodero Rodríguez
afd3644ace
Activate menu entry when administrator is at importation pages
2019-07-29 13:07:24 +02:00
Senén Rodero Rodríguez
76400a8c23
Add LocalCensusRecords link to admin menu
...
* Add to menu as a Settings sub-options
* Add translations for EN and ES locales
* Activate menu sub-option when user is at any LocalCensusRecords page
2019-07-29 13:07:24 +02:00
Javier Martín
72c6b05c64
Merge pull request #3376 from LextrendIT/3350_rename_debates_comments_admin
...
Refactor admin/debates and admin/comments to hidden
2019-06-05 19:15:21 +02:00
lalo
d0e1eff532
Add description field to administrator users like evaluators description
2019-06-05 16:18:12 +02:00
German Galia
85722eb7c4
Rename admin/debates and admin/comments to hidden
2019-06-02 19:12:26 +02:00
voodoorai2000
d0b8fef6b3
Delete spending proposals
2019-05-31 18:22:59 +02:00
decabeza
4193bb193c
Adds documents to menu customization admin helper
2019-04-30 11:59:57 +02:00
decabeza
eda6ea7f12
Merge branch 'master' into dashboard
2019-03-26 16:45:48 +01:00
Julian Herrero
b460c024f3
Use double quotes in app/helpers
2019-03-15 09:26:49 +01:00
decabeza
83e8d6035a
Remove questions link on admin polls menu
2019-03-13 13:33:49 +01:00
Julian Herrero
884274c4ad
Add a description for open polls
2019-02-18 13:34:07 +01:00
Julian Herrero
f38c4e3a0c
Highlight budgets menu when editing budget phases
2019-02-13 11:44:46 +01:00
decabeza
2695e19e2f
Fix hound warnings
2019-01-29 17:54:02 +01:00
Manu
26db37a17f
fixed wrong menu selection inside site content
2019-01-18 09:54:43 -05:00
Julian Herrero
d77183ee09
Improvement - CRUD budgets and content blocks
2019-01-14 12:59:48 +01:00
Julian Herrero
8fb8f70efd
cleanup (due to new CRUD for budget groups and headings)
2018-12-14 15:37:25 +01:00
Javi Martín
b499c88373
Extract method in menu moderated content
...
This way we can make a long line considerably shorter.
2018-11-30 18:04:55 +01:00
Javi Martín
45a41a7528
Rename Admin::Proposals to Admin::HiddenProposals
...
The same way we do it with users and budget investments.
2018-11-30 18:04:55 +01:00
decabeza
13b3d9cebc
Fixes admin menu link when create a new widget
2018-11-12 17:11:17 +01:00
decabeza
546105d989
Merge branch 'master' into dashboard-master
2018-10-19 01:48:37 +02:00
Raimond Garcia
2c79197a05
Merge pull request #2809 from wairbut-m2c/backport/translatable-content-for-admin
...
Basic content for I18n on Admin panel
2018-07-27 18:01:00 +02:00
Alberto
fb19aafee7
Merge pull request #2778 from wairbut-m2c/backport/investments-moderation
...
Allow budget investments to be moderated
2018-07-27 12:34:17 +02:00
16yuki0702
c14fbf8540
Fixed misunderstanding
2018-07-27 16:34:00 +09:00
16yuki0702
57dbb0220a
Fix active item on admin menu
2018-07-27 15:45:42 +09:00
Angel Perez
dd42b7ffbd
Correctly highlight 'Custom information texts' option on menu if active
2018-07-26 19:08:02 -04: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
Juan Salvador Pérez García
3b37b4b09d
Fixes #238
...
Applies new card design for polls in proposals dashboard.
Fixes warnings during tests.
Adds tests for new card design for polls in proposals dashboard.
2018-07-23 10:31:50 +02: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
Juan Salvador Pérez García
f9a085a400
Implements graph for dashboard
...
Implements graph secion for dashboard.
Dashboard related actions have been agrupated inside a menu in the admin
section.
Minor bugfixes.
2018-07-17 17:53:18 +02:00
decabeza
0a58e72edb
Adds ballot booths menu on admin
2018-07-02 17:57:27 +02:00
decabeza
b3f41eb626
Reorders admin menu sections
2018-06-08 18:26:59 +02:00
decabeza
50fd540797
Adds styles and missing i18n for admin homepage
2018-05-28 18:17:26 +02:00
Raúl Fuentes
6d8d44a5e3
Added interface and methods for edit the name of a Budget::Group if the budget is still inthe drafting phase
2018-03-02 09:16:57 +01:00
Bertocq
ceb6786b7c
Style correction on method call without parenthesis
2017-11-13 02:35:17 +01:00
Bertocq
bfd1a75af7
Fix Lint/RequireParentheses rubocop issue
2017-11-13 02:24:37 +01:00
Bertocq
cd66ba5d54
Rubocop autocorrections
2017-11-13 02:22:00 +01:00
Alberto García
164bc19b3e
Merge pull request #1906 from consul/1856-legislation_processes_proposals_phase
...
[WIP] Legislation Process Proposals
2017-10-27 12:41:09 +02:00
decabeza
c333522b47
improves styles for admin activity views
2017-10-20 10:40:07 +02:00
María Checa
841ef2a3a2
Merge branch 'master' into 1856-legislation_processes_proposals_phase
2017-10-09 17:19:07 +02:00