Bertocq
3f91e920f6
Enable rubocop Performance/RedundantMatch cop & fix issues
...
Some cop offenses have been stashed into rubocop_todo.yml for now
2018-02-10 21:26:02 +01:00
Bertocq
2341a2f70b
Add by_budget scope to Investment and use it
2018-02-10 16:36:14 +01:00
Bertocq
bd10285431
Fix line length at budget investments helper
2018-02-10 16:30:07 +01:00
Raúl Fuentes
ecdbc4a3f7
added balloting to the list of phases allowed to see all the links
2018-02-10 15:27:40 +01:00
Raúl Fuentes
5b16d395e7
Added logic to not show invetment links is the budget phase isn't reviewing_ballots or finished
2018-02-10 15:27:40 +01:00
Bertocq
ea089c1b87
Add missing legislation proposal commentable path
2018-02-03 23:54:22 +01:00
Angel Perez
1f50e284a9
'Current applied filters' message handles multiple filters in use
2018-01-31 07:21:51 -04:00
Raimond Garcia
b5cb5e2563
Merge pull request #2387 from wairbut-m2c/show_only_current_budget_tags_in_admin_budget
...
Show only current budget tags in admin budget
2018-01-29 20:14:10 +01:00
Vicente Mendoza
ff5112f96b
Changed the budgets helper so just search for the current budget
2018-01-26 11:30:02 +01:00
Angel Perez
e04dc5b8f2
Add sorting options for Admin::BudgetInvestments ( #2336 )
2018-01-25 08:18:04 -04:00
Raúl Fuentes
82b750de68
moved duplicated code to helper
2018-01-23 15:42:01 +01:00
rgarcia
d3d05f9cee
Add guide to create a proposal or investment
...
During a Participatory Budget, some users are getting confused and
creating a proposal instead of a budget investment. This intermediate
page should help them create investments
Adding a feature flag just in case other forks don’t need this feature
and setting seeds and dev_seeds for appropriate initial setup
2018-01-18 21:09:21 +01:00
Bertocq
06a1785445
Prevent empty html to be safe rendered to html with links
2018-01-18 17:55:21 +01:00
Bertocq
986ee9c87d
Correctly render budget description with html & links
2018-01-18 16:18:27 +01:00
Bertocq
304b3941a7
Move current budget's geolocated investments code to helper function
2018-01-18 01:40:58 +01:00
BertoCQ
92eac29da7
Merge branch 'master' into budget_map
2018-01-18 00:36:43 +01:00
Vicente Mendoza
c673ca2319
fix tests
2018-01-17 18:36:45 +01:00
Vicente Mendoza
d0df965487
fix some issues about test and variables name
2018-01-17 17:10:19 +01:00
Vicente Mendoza
91e10e1897
new map on budget homepage
2018-01-17 13:15:35 +01:00
BertoCQ
d44db9cec4
Merge branch 'master' into feature/budget_phases
2018-01-16 17:47:47 +01:00
Bertocq
66691b644a
Refactor Budget::PHASES constant to Budget::Phase::PHASE_KINDS
2018-01-16 12:18:13 +01:00
decabeza
97bf00817c
fixes js class name
2018-01-15 21:21:44 +01:00
decabeza
39b55e11df
changes text and makes bigger link to delete a marker on a map
2018-01-15 21:21:24 +01:00
María Checa
a06abf7650
Removed unnecessary code
2018-01-10 11:57:23 +01:00
Raúl Fuentes
29018e3062
changes made at the request of voodoorai2000
2018-01-09 13:08:03 +01:00
Raúl Fuentes
95c1aa43e8
added csv download link to budget_investments (issue 1625)
2018-01-09 12:45:30 +01:00
Bertocq
03f4fce2dd
Add budget_published? helper method to BudgetHelper
...
We need to check if the budget is in drafting phase to avoid showing
it to the users, unless the current user is an administrator.
2018-01-08 22:56:47 +01:00
María Checa
c9dbf3a90e
Removed RelatedContent from flags helper
2017-12-19 21:24:39 +01:00
María Checa
4cbdede41d
Adapted flags helper to related content
2017-12-18 18:22:01 +01:00
Alberto García
45de7efd7a
Merge pull request #1904 from consul/community-design
...
Community design
2017-12-14 14:44:03 +01:00
Bertocq
831ca1dd67
Redirect anonymous user to sign in on create topic link
2017-12-14 13:50:42 +01:00
Alberto García
19925de06b
Merge pull request #2170 from consul/design
...
Design improvements
2017-12-14 11:31:31 +01:00
Bertocq
8c9585480b
Remove no longer needed topics helper module file
2017-12-13 14:40:38 +01:00
decabeza
377a1d9f01
improves following view and updates specs
2017-12-07 16:31:05 +01:00
decabeza
d273ba2ba5
improves following page, shows public interest only in this view
2017-12-07 13:40:12 +01:00
Raimond Garcia
22a8157165
Merge branch 'master' into aperez-email-specs-for-commentables
2017-12-07 13:05:25 +01:00
decabeza
81392ae8f2
Merge branch 'master' into community-design
2017-11-21 20:52:05 +01:00
Bertocq
b2c03192bb
Fix kaminari path url helper function
2017-11-19 13:33:49 +01:00
Bertocq
f4af87f8a1
Add kaminari url path helper function
2017-11-18 10:44:30 +01:00
Angel Perez
2bdc2c27d7
Add email specs for Poll
2017-11-17 13:14:03 -04:00
Angel Perez
4c110e8100
Add email specs for Topic
2017-11-17 13:14:03 -04:00
Bertocq
bb1e5e4608
Fixed output
2017-11-17 00:21:16 +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
Raimond Garcia
ad37606129
Merge branch 'master' into legislation-processes-documents
2017-11-08 11:31:09 +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
9ba96becd2
Merge branch 'master' into admin-profiles
2017-10-25 18:29:01 +02:00
decabeza
f0cfe50de4
Merge branch 'master' into 1856-legislation_processes_proposals_phase
2017-10-25 11:52:31 +02:00
Bertocq
3adfbcb830
Fix Shift date ranges when poll is on recounting phase
2017-10-23 20:17:42 +02:00