2013-02-04 00:46:22 +01:00
|
|
|
- title t('.title'), false
|
2012-11-12 09:03:23 +01:00
|
|
|
|
|
|
|
.row-fluid
|
|
|
|
.span4
|
|
|
|
%h2= @ordergroup.name
|
|
|
|
.well
|
2013-11-09 14:19:54 +01:00
|
|
|
- unless @ordergroup.description.blank?
|
|
|
|
%p= @ordergroup.description
|
2012-11-12 09:03:23 +01:00
|
|
|
%p
|
2013-11-09 14:19:54 +01:00
|
|
|
%b= Ordergroup.human_attribute_name(:available_funds) + ':'
|
2012-11-12 09:03:23 +01:00
|
|
|
= number_to_currency(@ordergroup.get_available_funds())
|
2013-11-09 14:19:54 +01:00
|
|
|
%p
|
|
|
|
%b= Ordergroup.human_attribute_name(:user_tokens) + ':'
|
2013-11-18 11:42:49 +01:00
|
|
|
= @ordergroup.memberships.map{|m| show_user m.user}.join(', ')
|
2013-02-04 00:46:22 +01:00
|
|
|
= link_to t('.invite'), new_invite_path(:id => @ordergroup), :remote => true, class: 'btn btn-primary'
|
2012-11-12 09:03:23 +01:00
|
|
|
.span8
|
2013-02-04 00:46:22 +01:00
|
|
|
%h2= t('.account_summary')
|
2012-11-12 09:03:23 +01:00
|
|
|
.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',
|
2013-02-04 00:46:22 +01:00
|
|
|
placeholder: t('.search')
|
2012-11-12 09:03:23 +01:00
|
|
|
#transactions= render "finance/financial_transactions/transactions"
|
2013-02-04 00:46:22 +01:00
|
|
|
|