Improved tasks.

This commit is contained in:
benni 2012-10-08 21:52:03 +02:00
parent 52e62f8ddb
commit acdb331e36
29 changed files with 1186 additions and 198 deletions

View file

@ -325,6 +325,7 @@ de:
required_users: 'Anzahl'
due_date: 'Wann erledigen?'
workgroup: 'Arbeitsgruppe'
done: Erledigt?
message:
sent_to_all: 'An alle Mitglieder schicken'
recipient_tokens: 'Empfänger_innen'

View file

@ -28,7 +28,7 @@ SimpleNavigation::Configuration.run do |navigation|
if: Proc.new { current_user.role_article_meta? or current_user.role_suppliers? } do |subnav|
subnav.item :suppliers, 'Lieferanten/Artikel', suppliers_path, id: nil
subnav.item :stockit, 'Lager', stock_articles_path, id: nil
subnav.item :categories, 'Kategorien', id: nil
subnav.item :categories, 'Kategorien', article_categories_path, id: nil
end
primary.item :finance, 'Finanzen', '#', if: Proc.new { current_user.role_finance? } do |subnav|

View file

@ -62,6 +62,11 @@ Foodsoft::Application.routes.draw do
get :archive
get :workgroup
end
member do
post :accept
post :reject
post :set_done
end
end
resources :messages, :only => [:index, :show, :new, :create]