66ac3be81f
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
24 lines
954 B
Text
24 lines
954 B
Text
- title t('.title'), false
|
|
|
|
.row-fluid
|
|
.span4
|
|
%h2= @ordergroup.name
|
|
.well
|
|
- unless @ordergroup.description.blank?
|
|
%p= @ordergroup.description
|
|
%p
|
|
%b= Ordergroup.human_attribute_name(:available_funds) + ':'
|
|
= number_to_currency(@ordergroup.get_available_funds())
|
|
%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')
|
|
.well.well-small
|
|
= form_tag my_ordergroup_path, :method => :get, :remote => true,
|
|
'data-submit-onchange' => true, class: 'form-search' do
|
|
= text_field_tag :query, params[:query], class: 'input-medium search-query',
|
|
placeholder: t('.search')
|
|
#transactions= render "finance/financial_transactions/transactions"
|
|
|