decabeza
9edabb5bf4
Fix links on budgets index page
2019-01-30 14:15:40 +01:00
Julian Herrero
d77183ee09
Improvement - CRUD budgets and content blocks
2019-01-14 12:59:48 +01:00
Julian Herrero
d2b3943968
improve rendering of map in the sidebar
2019-01-02 10:41:03 +01:00
decabeza
7316c16edd
Adds price explanation link on budget investments show
2018-12-19 13:52:17 +01:00
Julian Nicolas Herrero
2175339609
Merge pull request #3106 from consul/2918-crud_budget_groups_headings
...
Change CRUD for budget groups and headings
2018-12-18 10:23:24 +01:00
Julian Herrero
25e1afea48
fix map rendering for budget headings
2018-12-14 15:37:22 +01:00
Javi Martín
df29b49d05
Make milestones view reusable
2018-12-11 19:22:55 +01:00
Julian Herrero
fcfee3a906
apply missing requeriments in PR #3043
...
In this PR https://github.com/consul/consul/pull/3043
there were some change requests. In order to keep moving
we decided to merge the PR and do the changes ourselves.
2018-12-11 18:21:14 +01:00
Julian Nicolas Herrero
6aa54d6c62
Merge branch 'master' into content_blocks_for_headings
2018-12-11 16:40:25 +01:00
Julian Nicolas Herrero
9aab3ddd7b
Merge pull request #3038 from MatheusMiranda/add_map_to_heading_page
...
Add map to sidebar on Heading's page
2018-12-11 16:32:35 +01:00
decabeza
6f1e7abedd
Improves styles for milestones documents
2018-12-04 17:31:04 +01:00
Milber Champutiz Burbano
9f455b9165
Added feature to add content block to headings in sidebar -- rebase
2018-11-27 09:37:35 -05:00
Raimond Garcia
ed9e501ae7
Merge branch 'master' into add_map_to_heading_page
2018-11-27 11:07:16 +01:00
decabeza
2c06008370
Improves social share message to budget investments
2018-11-22 11:35:09 +01:00
Matheus Miranda
06f07b1139
Add map to sidebar on Heading's page
...
Signed-off-by: Matheus Miranda <matheusmirandalacerda@gmail.com >
2018-11-16 09:05:23 +01:00
decabeza
315ed77618
Removes unnecessary condition
2018-11-14 13:56:14 +01:00
decabeza
dfa7148406
Shows unselected message only on balloting or later phase
2018-11-12 17:23:58 +01:00
decabeza
7dd530dad7
Adds missing for to budget exections status label tag
2018-11-07 18:25:18 +01:00
decabeza
ba1a6b4cc8
Display first image available for milestones
2018-11-07 18:09:23 +01:00
decabeza
d698a724ac
Moves milestone image to a partial
2018-11-07 18:09:20 +01:00
decabeza
7d55f64aac
Adds link to milestones on budgets index page
2018-11-07 18:08:03 +01:00
Javi Martín
9bacf39647
Fix link to create a new budget investment
2018-11-06 13:19:34 +01:00
Angel Perez
810bdae37a
Move 'budget_execution_no_image' file to app/assets/images/ folder
2018-11-06 13:02:35 +01:00
María Checa
b6fdf732f2
Add total Investments in the execution list
2018-11-06 13:02:35 +01:00
María Checa
d089cc14a5
Add logic to handle budget investments with an execution process
2018-11-06 13:02:35 +01:00
Marko Lovic
8376efce3f
Hide headings with no investments
...
The page should not show any headings which don't have any
winning investments. The "no content" message should only be
shown when there are no headings with investments to avoid an
otherwise blank page.
__Note:__ in the main @headings query, _both_ #includes and #joins
are needed to:
1. eager load all necessary data (#includes)
and
2. to perform an INNER JOIN on milestones to filter out investments
with no milestones (#joins).
2018-11-06 13:02:35 +01:00
Angel Perez
62b99f01bc
Show message for headings without winner investments
2018-11-06 13:02:34 +01:00
Angel Perez
99e4e7ef8a
Limit milestones to 1 per investment and sort them by publication date
2018-11-06 13:02:34 +01:00
Angel Perez
448ac7a158
Restore filtering investments by milestone status query
...
This commit makes 3 changes:
1. Extracts a query into a helper for clarity and DRYness
2. Adds a `.where` clause to filter investments based on their
(current) milestone status
3. Fixes a bug where investments would be rendered as many times as
milestones associated to an investment
2018-11-06 13:02:34 +01:00
decabeza
689b25c977
Adds tab-milestones anchor to link and milestone image
2018-11-06 13:02:34 +01:00
decabeza
eb76f644b7
Adds link to heading name on sidebar
2018-11-06 13:02:34 +01:00
decabeza
c7936bacae
Adds styles to budgets execution
2018-11-06 13:02:34 +01:00
Angel Perez
2a3ce0b182
Render winner investments under 'Executions' tab
2018-11-06 13:02:34 +01:00
Angel Perez
5de74ea6f1
Load budget headings on budgets/executions#show action
2018-11-06 13:02:34 +01:00
Angel Perez
0a95abc30d
Replace budget execution heading route with anchor link
2018-11-06 13:02:34 +01:00
Angel Perez
6559c7212b
Add prompt & label for milestones filters under budgets/executions#show
2018-11-06 13:02:34 +01:00
Angel Perez
97809db1b7
Enable filtering of investments by their milestones statuses
2018-11-05 18:04:38 +01:00
Angel Perez
3e6cbc9505
Add basic frontend for budget executions list
2018-11-05 18:04:38 +01:00
Angel Perez
b483ca7f7e
Add 'Execution' tab to a finished Budget
...
This new tab will show all winner investments projects with milestones
2018-11-05 16:33:32 +01:00
decabeza
7a92df8de5
Updates is-active class for view mode
2018-10-18 18:14:39 +02:00
decabeza
dbf41421ed
Removes guide feature
2018-10-17 14:58:29 +02:00
Marko Lovic
c7fcdd9b0e
Use standard locale names for Globalize
...
It turns out it is not necessary to downcase and underscore
locale names to use the globalize-accessor gem. The gem
will automatically underscore the locale name when defining and
calling the accessor methods.
2018-09-11 18:48:14 +02:00
decabeza
52fa9d27ac
Removes custom content on index views pages
2018-07-30 17:55:56 +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
María Checa
2dd5fe22a8
Removes permissions for admins to access unfinished budget results
2018-07-26 11:07:19 +02:00
Angel Perez
8ef3e81e03
Adapt public views for flagging/unflagging investments
2018-07-20 18:42:33 -04:00
decabeza
bbaec57c8a
Adds message in budget investment show if project is winner
2018-07-13 18:37:16 +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
decabeza
9ecb4f4f22
Fixes heading name on budgets index view
2018-07-05 18:14:15 +02:00
decabeza
abf0fe992e
Removes tablist and tab roles
2018-07-04 17:14:24 +02:00