Bertocq
2a678dfd4a
Order group headings by name on listing
2018-01-31 23:20:57 +01:00
BertoCQ
f0f41b0403
Merge pull request #2373 from consul/single_heading_group_names
...
Improve heading names at select boxes
2018-01-31 02:35:11 +01:00
Bertocq
c01c08a3f4
Use current_budget directly instead of instance variable
2018-01-25 00:48:52 +01:00
Bertocq
8749b46ec4
Remove budget_published? usage on budget index, drafting budgets no longer listed
2018-01-25 00:48:52 +01:00
Bertocq
791f081a91
Rename @budget to @current budget at budget index
...
Clear instance variable names help understand what's going around when
you're deep 2 or 3 partials. In this case @budget is only used to carry
around the current_budget so @current_budget is more descriptive.
Using `current_budget` directly around would be an alternative, but
maybe not as maintainable in case we want to change which budget is
being shown (for example the drafting one if you're admin).
2018-01-25 00:48:52 +01:00
Bertocq
e62ca48a94
Show only finished budgets at budget's index
...
We only need finished budget's at budget's index "Finished budgets"
section. So we add the `finished` scope to @budgets variable, and rename
it so its clear what it contains.
Also avoid showing the "Finished budgets" section if there is none
2018-01-25 00:48:52 +01:00
Bertocq
31956312bf
Make use of new single_heading_group? on existing similar logic
2018-01-24 12:17:46 +01:00
María Checa
0dd71e6bea
Merge pull request #2349 from wairbut-m2c/iagirre-budgets-new-information-phase
...
Budget new "Information" phase
2018-01-23 19:46:49 +01:00
rgarcia
eee19ad690
Use scope to order headings by name
2018-01-23 19:35:42 +01:00
Raúl Fuentes
82b750de68
moved duplicated code to helper
2018-01-23 15:42:01 +01:00
iagirre
846898f3ec
New phase "Information" added and UI modified to not show the links.
...
Specs to test the functionality added.
2018-01-23 15:42:01 +01:00
decabeza
cb170766b4
orders budgets groups headings by name
2018-01-23 13:55:42 +01:00
Bertocq
599442440b
Correctly format Budget's phases dates
2018-01-23 02:07:49 +01:00
Bertocq
217f62116e
Correctly scape budget phase summary on phases list
2018-01-22 23:29:48 +01:00
decabeza
7a17db01ef
adds links with filters on budgets results page
2018-01-22 19:27:54 +01:00
Raúl Fuentes
93268fc5d6
changed advanced filter from budgets to budgets/investments
2018-01-22 09:59:09 +01:00
Raúl Fuentes
a56be4bc5f
added I18n to phase select
2018-01-22 09:59:09 +01:00
Raúl Fuentes
bb39f8af0a
issue #1436 , mirrored behavior from proposals
2018-01-22 09:59:09 +01:00
decabeza
32c442ec66
removes description on finished participatory budgets
2018-01-19 14:35:05 +01:00
decabeza
f1ce68a445
changes back link on header to budgets_path
2018-01-19 14:35:05 +01:00
decabeza
27111b95c3
makes sure description has white color
2018-01-19 14:35:05 +01:00
decabeza
f722caac24
removes budget steps on header
2018-01-19 14:35:05 +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
e6e9e2db05
Render budget description html with links on budget index
2018-01-18 17:40:37 +01:00
Bertocq
95a7942372
Some css class improvements at budget list on /budget
2018-01-18 17:37:08 +01:00
Bertocq
872e7ceb02
Use budget published_phases's method to get them ordered, and decrease final date
2018-01-18 17:18:05 +01:00
Bertocq
7599eb4c35
Refactor budget phases step progress functions and usage
2018-01-18 17:18:05 +01:00
decabeza
aaccf87ec5
adds new partial for phases info on budget homepage
2018-01-18 17:18:04 +01:00
Bertocq
2e883db283
Refactor budget phases current step & total steps
2018-01-18 16:53:36 +01:00
Bertocq
986ee9c87d
Correctly render budget description with html & links
2018-01-18 16:18:27 +01:00
BertoCQ
92eac29da7
Merge branch 'master' into budget_map
2018-01-18 00:36:43 +01:00
decabeza
9cfd60afc2
adds styles to budgets homepage
2018-01-18 00:24:32 +01:00
decabeza
7cbb1dd3a7
adds comments to pending content
2018-01-18 00:24:32 +01:00
decabeza
8486c183df
improves name on each method
2018-01-18 00:24:32 +01:00
Bertocq
a6b06ca730
Improve Budget's homepage
...
* Add budget's phases number status
* Add budget's headings and groups list
* Placeholders for future improvements
2018-01-17 19:11:58 +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
153b46b468
Create description_for_phase helper method at Budget, to make it easier to get non-active-phase description
2018-01-16 12:18:13 +01:00
BertoCQ
3d5bf04829
Merge pull request #2311 from consul/2299-budget_investments_related_content
...
Budget investments related content
2018-01-15 20:02:34 +01:00
decabeza
40d32f3e16
Merge branch 'master' into budgets-ui
2018-01-11 17:05:28 +01:00
María Checa
c56a7b4e16
Added related contents to budget investments
2018-01-11 16:49:07 +01:00
Bertocq
f3a7de55ea
Rename should_show_price_info? to should_show_price_explanation? at Budget::Investment & usage
2018-01-10 01:13:34 +01:00
decabeza
65d682901b
fixes vertical align on support/price on index list
2018-01-09 19:32:40 +01:00
decabeza
3c8ec4169f
improves messages on header
2018-01-09 19:29:36 +01:00
decabeza
5fb49c7adf
reorders elements like proposals/show
2018-01-09 19:29:36 +01:00
decabeza
c44a1c57af
shows supports number on bold
2018-01-09 19:29:36 +01:00
decabeza
47194205bf
fixes author actions on sidebar
2018-01-09 19:29:36 +01:00
María Checa
96859190be
Merge pull request #2280 from consul/2277-budgets_new_form
...
Budgets new form
2018-01-09 11:55:10 +01:00
María Checa
385db76a24
Changed location attribute label text
2018-01-08 23:23:02 +01:00
María Checa
5161988844
Removed external_url input
2018-01-08 23:22:46 +01:00