taitus
0602a38742
Fix Style: Display Titles without highlight
2019-07-01 15:03:48 +02:00
taitus
944e502605
Align admin budget form fields with new translations interface
2019-07-01 14:49:44 +02:00
Senén Rodero Rodríguez
146c09adb7
Update references to new translation interface
2019-07-01 14:49:43 +02:00
German Galia
74083df10f
Add historic fields to participatory budget
2019-06-12 18:03:53 +02:00
Javi Martín
4f4dc2c2af
Add show results and stats form to budgets
2019-05-22 11:50:03 +02:00
decabeza
fcbb11b26e
Hides question menu on budget poll and changes redirect when create
2019-04-03 22:23:32 +02:00
rgarcia
6fa7562181
Automatically create a budget poll if it does not exist
2019-04-03 22:23:22 +02:00
María Checa
f6739dc7e5
Adds "Admin ballots" button in admin budgets index
2019-04-03 22:20:05 +02:00
Javi Martín
3e4e65ead7
Use double quotes inside ERB
...
We were using single quotes inside ERB code when that code was inside
HTML double quotes.
2019-03-25 14:58:54 +01:00
Julian Herrero
5bfc9add78
Use double quotes in app/views/admin/budget
2019-03-19 12:16:50 +01:00
decabeza
9bad103166
Remove budget name link on admin budgets index
2019-02-25 14:10:28 +01:00
Julian Herrero
d76782f150
Make budgets translatable
2019-02-13 11:41:58 +01:00
decabeza
5974b7ee84
Update calculate winners button on budgets form
2019-02-05 17:15:26 +01:00
decabeza
75531c6c80
Show current phase as selected on phase select on admin budgets form
2019-01-23 14:30:35 +01:00
Julian Herrero
6439be44f1
change CRUD for budget groups and headings
...
To make it more consistent with the rest of the Admin panel,
the CRUD for budget groups and headings has been changed
from the old "all-in-one" form to a separate form for each resource.
2018-12-14 16:34:54 +01:00
Julian Herrero
8fb8f70efd
cleanup (due to new CRUD for budget groups and headings)
2018-12-14 15:37:25 +01:00
Julian Nicolas Herrero
6aa54d6c62
Merge branch 'master' into content_blocks_for_headings
2018-12-11 16:40:25 +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
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
c049be6dae
Improves message when there are no budgets
2018-11-06 18:11:13 +01:00
decabeza
7e828d7e94
Removes unnecessary styles for admin budgets groups
2018-10-18 18:16:11 +02:00
decabeza
a72eb380a2
Unifies styles and views for admin budgets
2018-07-31 12:52:21 +02:00
iagirre
f871868a2b
Max headings are updated when editing heading
...
The max headings label is updated automatically
when updating the heading. It is done via AJAX
and a refresh isn't needed.
2018-07-13 11:46:09 +02:00
Bertocq
1f0ee32998
Add max headings label on Group list
2018-07-13 11:46:09 +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
57ff65692f
Improves i18n texts
2018-06-08 18:29:47 +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
iagirre
2821985552
Change 'Calculate Winners button' to budget_investments index.
...
Move the button so that it appears in the Winners tab of the
budget_investments index.
When the budget is in "Balloting projects", "Reviewing Ballots"
or "Finished budget" phases, the button will appear as a button
(clickable). If there are no winners calculated yet, the text
will be "Calculate winner investments"; if there are, the text
will be "Recalculate winner investments".
If the budget is in another phase, the button will be
disabled and a message will appear: 'The budget has to stay on
phase "Balloting projects", "Reviewing Ballots" or
"Finished budget" in order to calculate winners projects'
2018-05-28 15:12:28 +02:00
Angel Perez
9a326d4987
Use 'drafting' as default value when creating a new budget
2018-05-23 07:27:12 -04:00
Antonis Tzorvas
c21d806ecc
Refs #2603 Show 'See Results' button in admin panel
2018-05-19 13:38:02 +03:00
Raimond Garcia
4260c05f30
Merge pull request #2537 from consul/budgets-ui
...
Fixes budgets ui for all phases
2018-03-27 20:21:45 +02:00
rgarcia
730072e91e
Add max votable headings to groups
2018-03-22 22:24:58 +01:00
rgarcia
c908e91f00
Order budget headings by id
...
To maintain order after editing a heading’s name
We should probably add timestamps to `groups` and `headings` and order
by `created_at` instead
Could have done it in a separate PR, but gotta keep moving to other
priority issues. Creating issue for timestamps to do correctly and with
tests 😌
2018-03-22 10:20:07 +01:00
rgarcia
1083213ac7
Order budget groups by id
...
To maintain order after editing a group’s name
We should probably add timestamps to `groups` and `headings` and order
by `created_at` instead
2018-03-22 10:19:56 +01:00
decabeza
4fbc10d85e
Fixes budgets ui for all phases
2018-03-14 15:01:56 +01:00
Bertocq
d9a8474793
Refactor Group partial to be easier to read
2018-03-02 09:17:26 +01:00
Bertocq
7c02f9c82e
Fix missing I18n.t usage
2018-03-02 09:17:21 +01:00
Raúl Fuentes
78fc4010d0
fixed the style
2018-03-02 09:17:08 +01: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
d75fd59684
Align right heading amount & population at admin table
2018-01-24 01:12:38 +01:00
Bertocq
43137df4a5
Format heading price at admin table
2018-01-24 01:12:17 +01:00
Bertocq
b6cc816d0f
Remove the end date adjustment at admin budget phase table
2018-01-23 02:13:11 +01:00
Bertocq
599442440b
Correctly format Budget's phases dates
2018-01-23 02:07:49 +01:00
Bertocq
cc69225b7a
Assert phases list order in admins budget edit form
2018-01-23 00:15:06 +01:00
Bertocq
8eaf0982b1
Fixed Admin Budget's destroy button to a link
...
Why:
The Admin Budget form has a submit button for saving the record, adding
another submit input to destroy the record actually adds to the html:
`<input type="hidden" name="_method" value="delete">` and it collides
with the save button, forcing it to perform a destroy instead of save.
Previously the destroy button was not in the same div as the save button
How:
Just changing the Destroy from a button_to to a link_to.
2018-01-20 14:03:14 +01:00
María Checa
a97c007150
Added admin budget phases views
2018-01-19 18:19:46 +01:00
Bertocq
66691b644a
Refactor Budget::PHASES constant to Budget::Phase::PHASE_KINDS
2018-01-16 12:18:13 +01:00
Bertocq
f2228a908b
Refactor budget's phase max description lenght from Budget to Phase model
2018-01-16 12:18:13 +01:00
decabeza
ba63a91ce7
removes comments
2018-01-11 17:09:54 +01:00