kikito
003056fe75
Moves bi management controller
2016-12-02 19:16:31 +01:00
kikito
00cfb95913
Starts fixing management budget investments
2016-12-01 16:31:05 +01:00
kikito
2a2179d0f3
Merge branch 'master' into budget
2016-11-28 11:41:49 +01:00
kikito
f0b8cfd4a2
Time.now -> Time.current
2016-11-23 19:19:19 +01: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
Alberto Garcia Cabeza
910b24936d
Merge branch 'master' into voting-proposals
...
Conflicts:
app/models/proposal.rb
app/views/proposals/_proposal.html.erb
app/views/proposals/index.html.erb
app/views/proposals/show.html.erb
spec/support/common_actions.rb
2016-09-15 13:58:53 +02:00
Alberto Garcia Cabeza
7abd31e4bf
Renames variable, updates text
2016-09-15 13:47:53 +02:00
Alberto Garcia Cabeza
db6f82fa4c
Moves banner to a partial and includes it on debates index
2016-09-14 11:09:36 +02:00
Raimond Garcia
9a2d45f25d
Merge pull request #1219 from consul/budget-management
...
Budget management
2016-09-13 18:45:30 +02:00
Juanjo Bazán
2142351743
archived proposals should not appear in 'featured'
2016-09-13 12:56:49 +02:00
Juanjo Bazán
11dbc05a80
removes archived proposals from index/search pages
2016-09-13 12:56:10 +02:00
kikito
13ffd73fee
UNFINISHED budget management
2016-09-13 12:33:34 +02:00
kikito
2bc9e7be78
started working on budget manatement
2016-09-12 12:11:47 +02:00
rgarcia
22373c3ddd
Review my votes page
2016-09-10 16:22:41 +02:00
rgarcia
9d4f2d1aff
Displays budget groups
2016-09-10 16:22:41 +02:00
rgarcia
1c8f4d5ff0
can remove investment projects
2016-09-10 16:22:41 +02:00
rgarcia
9839d7afd0
can add investments to ballot
2016-09-10 16:22:40 +02:00
Alberto Garcia Cabeza
41312ca2a5
Creates archived proposals method
2016-09-09 17:31:05 +02:00
Juanjo Bazán
8aa62f8ce7
Merge branch 'budget' into admin-budgets
2016-09-09 15:13:05 +02:00
Juanjo Bazán
42c705e1e3
adds dossier editing of investments to valuation
2016-09-09 15:09:06 +02:00
Juanjo Bazán
0fc31b1259
adds budget/budget_investment indexes to valuators
2016-09-09 13:39:08 +02:00
kikito
cb7ea79aaf
Replaces spending proposals by budget investments in user/show
2016-09-09 12:19:38 +02:00
Juanjo Bazán
50ef23205f
avoids loading featured proposals if voting notice
2016-09-08 12:42:44 +02:00
Juanjo Bazán
2d56415048
adds feature flag for admin/budgets management
2016-09-07 15:13:39 +02:00
Juanjo Bazán
8890380804
adds investment editing to admin
2016-09-07 14:13:40 +02:00
Alberto Garcia Cabeza
b107790039
Adds links, texts and i18n
2016-09-07 12:46:29 +02:00
Alberto Garcia Cabeza
a527de4f92
Adds proposal ballots controller and views
2016-09-07 12:43:12 +02:00
Juanjo Bazán
6542812647
adds simple investment show view to admin
...
valuators info is missing
2016-09-06 17:04:31 +02:00
Juanjo Bazán
b0358e4867
adds index of investments with filters to admin
2016-09-05 17:50:58 +02:00
rgarcia
c2c7cdb18d
Merge branch 'budget' into budget-public-controllers
2016-09-02 13:15:40 +02:00
rgarcia
3e0786b555
Merge branch 'budget' of github.com:AyuntamientoMadrid/participacion into budget
2016-09-02 13:15:30 +02:00
Juanjo Bazán
0f7e23bec4
adds budget's groups & headings to admin
2016-08-03 20:23:41 +02:00
Juanjo Bazán
724ccf175c
adds budget show to admin
2016-07-29 14:52:37 +02:00
Juanjo Bazán
49bc6533e8
adds explicit permission to admin to read budgets
2016-07-29 13:39:08 +02:00
Juanjo Bazán
6fce9df451
adds admin creation of budgets
2016-07-29 13:34:41 +02:00
Alberto Garcia Cabeza
b69308b770
Adds example content for admin budget new
2016-07-28 13:04:30 +02:00
Juanjo Bazán
1ad78d599e
adds admin budgets index
2016-07-28 12:36:39 +02:00
rgarcia
f21fda0898
fixes pending specs
2016-07-27 16:39:25 +02:00
rgarcia
7d34621c1c
removes duplicate code
2016-07-27 13:05:00 +02:00
rgarcia
3c55d66591
fixes conflicts with budget
2016-07-27 11:41:46 +02:00
rgarcia
1587222cba
tmp commit
2016-07-20 14:06:27 +02:00
rgarcia
f24a8887bb
fixes conflicts with master
2016-07-19 14:49:27 +02:00
rgarcia
85d9dd4b84
integrates cancan with budgets
2016-07-19 14:41:55 +02:00
rgarcia
33a44fc470
uses a module to structure controller code
2016-07-19 13:49:00 +02:00
rgarcia
1e35ca4895
adds budget structure for views and controllers
2016-07-19 13:16:30 +02:00
Juanjo Bazán
dc7ee45766
uses before_action instead of before_filter
...
before_filter is deprecated
2016-07-18 14:50:28 +02:00
rgarcia
96630f88f2
takes into account emails separated by commas without spaces
2016-06-29 21:46:03 +02:00
rgarcia
745de9bb77
sends invitation email to users
2016-06-27 23:37:58 +02:00
Alberto Garcia Cabeza
947b2bcb0d
Adds user invites views on management
2016-06-27 14:25:20 +02:00
rgarcia
00dbbd0689
fixes specs (unauthenticated users can view spending proposal show)
2016-06-20 21:54:45 +02:00