Commit Graph

38 Commits

Author SHA1 Message Date
Bertocq
69f4e1c683 Fix all rubocop Metrics/LineLength issues (140+) 2017-07-10 13:22:49 +02:00
rgarcia
bb3c4c6399 adds consistency to ruby code style
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00
rgarcia
64bab02a7c adds more explicit order for admin summary 2016-04-26 18:56:59 +02:00
rgarcia
4b751d513f orders admin summary by geozone 2016-04-26 18:26:41 +02:00
rgarcia
d51fe779e2 displays summary info for supported spending proposals 2016-04-26 15:13:53 +02:00
rgarcia
ab1216af3d adds more info to admin summary for spending proposals 2016-04-26 14:47:44 +02:00
Juanjo Bazán
d69d752f58 Merge pull request #1089 from consul/admin-sp-errors-on-update
displays error on failed update
2016-04-26 11:22:27 +02:00
rgarcia
23e325896f displays error on failed update 2016-04-26 11:12:07 +02:00
Juanjo Bazán
1c92ac4089 adds new filter 'All' to admin sps index 2016-04-26 10:20:07 +02:00
kikito
6e8a310ee1 Sorts spending proposals by votes and creation in admin 2016-04-25 18:33:18 +02:00
rgarcia
de84480788 adds admin summary page for spending proposals 2016-04-22 15:03:46 +02:00
kikito
c2b205da89 Makes redirect in spending proposal go back to the full page after editing 2016-04-13 13:55:29 +02:00
kikito
d794c1b79d Adds fields to admin/spendingproposals/edit view & controller 2016-04-13 13:54:57 +02:00
Juanjo Bazán
4ddb778bed refactors scopes and methods used only in admin 2016-03-29 14:12:19 +02:00
Juanjo Bazán
f299ea7ebb changes valuator order to include description 2016-03-18 19:44:36 +01:00
Juanjo Bazán
95435a0734 changes order for valuator list 2016-03-16 10:50:07 +01:00
kikito
b44aad0798 Uses SpendingProposal.filter_params in admin/sp controller 2016-03-14 18:23:10 +01:00
kikito
2ac12ef4a9 makes admin/spending_proposal/edit visually pleasant 2016-03-08 15:26:13 +01:00
rgarcia
cd8cbef389 adds filtering of tags for spending proposals 2016-03-08 13:57:58 +01:00
rgarcia
57386349a2 removes unused code 2016-03-08 13:00:57 +01:00
rgarcia
389b89970f adds valuators to spending proposals
Conflicts:
	app/views/admin/spending_proposals/show.html.erb
2016-03-08 12:42:08 +01:00
rgarcia
07b99bb017 adds administrator to spending proposal 2016-03-08 12:40:46 +01:00
rgarcia
951505ce7d admins can tag spending proposals 2016-03-08 12:40:35 +01:00
Juanjo Bazán
fb5e2beb54 adds new filters to admin valuations 2016-03-03 19:02:13 +01:00
rgarcia
ec25b388c7 adds filtering of spending proposals by admin 2016-03-01 20:10:57 +01:00
Juanjo Bazán
9eea8fd4a9 adds valuation status filtering to admin 2016-02-26 11:45:29 +01:00
Juanjo Bazán
fa33859c58 fights a flaky test 2016-02-26 11:18:31 +01:00
Juanjo Bazán
43635f41b0 adds without_validators filter 2016-02-25 18:43:35 +01:00
Juanjo Bazán
0e1e0ce371 adds filters: by geozone and without_admin 2016-02-25 18:18:40 +01:00
Juanjo Bazán
77ee316ed8 adds assignment info to admin's valuations index 2016-02-25 14:44:11 +01:00
Juanjo Bazán
2cddad22d6 redux admin for spending proposals
adds dossier info
adds assignments to admin and valuators
2016-02-24 19:39:02 +01:00
Juanjo Bazán
00eec532a6 removes resolution status from spending proposals 2016-02-24 18:50:39 +01:00
Josep Jaume Rey Peroy
57f5296e49 Feature flag spending proposals 2016-01-18 13:05:00 +01:00
kikito
e014b3ad83 fixes failing specs 2016-01-13 16:58:17 +01:00
kikito
ae6d70b1c1 Uses Abilities instead of exceptions in the proposals controller 2016-01-13 16:32:10 +01:00
Juanjo Bazán
eb4c352f7d removes before_action in favor of cancancan 2016-01-13 12:56:27 +01:00
Juanjo Bazán
e5caf84c02 adds show view in admin for spending proposals 2016-01-11 14:25:33 +01:00
Juanjo Bazán
3f05864a16 adds spending proposals to admin 2016-01-11 13:45:10 +01:00