Merge branch 'master' into allow-no-nickname

Conflicts:
	app/views/home/ordergroup.html.haml
	app/views/login/new_password.html.haml
	app/views/shared/_auto_complete_users.rhtml
	app/views/shared/memberships/_current_members.rhtml
	app/views/shared/memberships/_non_members.rhtml
This commit is contained in:
wvengen 2013-11-18 11:42:49 +01:00
commit 66ac3be81f
63 changed files with 428 additions and 438 deletions

View file

@ -4,16 +4,14 @@
.span4
%h2= @ordergroup.name
.well
- unless @ordergroup.description.blank?
%p= @ordergroup.description
%p
%b= t '.description'
= @ordergroup.description
%p
%b= t '.funds'
%b= Ordergroup.human_attribute_name(:available_funds) + ':'
= number_to_currency(@ordergroup.get_available_funds())
%h2= t '.people'
%ul
- for membership in @ordergroup.memberships
%li= show_user membership.user
%p
%b= Ordergroup.human_attribute_name(:user_tokens) + ':'
= @ordergroup.memberships.map{|m| show_user m.user}.join(', ')
= link_to t('.invite'), new_invite_path(:id => @ordergroup), :remote => true, class: 'btn btn-primary'
.span8
%h2= t('.account_summary')