started working on budget manatement

This commit is contained in:
kikito
2016-09-09 16:57:16 +02:00
parent a69475bf99
commit 2bc9e7be78
15 changed files with 439 additions and 3 deletions

View File

@@ -283,6 +283,9 @@ en:
proposal_search:
button: Search
placeholder: Search proposals by title, code, description or question
budget_investment_search:
button: Search
placeholder: Search investments by title or description
spending_proposal_search:
button: Search
placeholder: Search spending proposals by title or description

View File

@@ -50,6 +50,9 @@ en:
create_spending_proposal: Create spending proposal
print_spending_proposals: Print spending proposals
support_spending_proposals: Support spending proposals
create_budget_investment: Create budget investment
print_budget_investment: Print budget investment
support_budget_investment: Support budget investment
users: Users
edit_user_accounts: Edit user account
user_invites: User's invites
@@ -62,8 +65,8 @@ en:
proposals_info: Create yor proposal on http://url.consul
proposals_note: The proposals more supported will be voted. If are accepted by a majority, the city Council shall be carried out.
proposals_title: 'Proposals:'
spending_proposals_info: Participate at http://url.consul
spending_proposals_note: Participatory budget will be assigned to the most votes spending proposals.
budget_investments_info: Participate at http://url.consul
budget_investments_note: Participatory budget will be assigned to the most voted budget investment.
print_info: Print this info
proposals:
alert:
@@ -71,6 +74,18 @@ en:
create_proposal: Create proposal
print:
print_button: Print
budget_investments:
alert:
unverified_user: User is not verified
create: Create budget investment
filters:
unfeasible: Unfeasible investment
by_geozone: "Investment with scope: %{geozone}"
print:
print_button: Print
search_results:
one: " containing the term '%{search_term}'"
other: " containing the term '%{search_term}'"
spending_proposals:
alert:
unverified_user: User is not verified
@@ -106,4 +121,4 @@ en:
title: User's invites
create:
success_html: <strong>%{count} invitations</strong> have been sent.
title: User's invites
title: User's invites

View File

@@ -282,6 +282,11 @@ Rails.application.routes.draw do
post :vote, on: :member
get :print, on: :collection
end
resources :budget_investments, only: [:index, :new, :create, :show] do
post :vote, on: :member
get :print, on: :collection
end
end
if Rails.env.development?