fix and improve i18n of "My Ordergroup"
This commit is contained in:
parent
94a9603488
commit
891b9a21c0
2 changed files with 6 additions and 11 deletions
|
@ -4,16 +4,14 @@
|
||||||
.span4
|
.span4
|
||||||
%h2= @ordergroup.name
|
%h2= @ordergroup.name
|
||||||
.well
|
.well
|
||||||
|
- unless @ordergroup.description.blank?
|
||||||
|
%p= @ordergroup.description
|
||||||
%p
|
%p
|
||||||
%b= t '.description'
|
%b= Ordergroup.human_attribute_name(:available_funds) + ':'
|
||||||
= @ordergroup.description
|
|
||||||
%p
|
|
||||||
%b= t '.funds'
|
|
||||||
= number_to_currency(@ordergroup.get_available_funds())
|
= number_to_currency(@ordergroup.get_available_funds())
|
||||||
%h2= t '.people'
|
%p
|
||||||
%ul
|
%b= Ordergroup.human_attribute_name(:user_tokens) + ':'
|
||||||
- for membership in @ordergroup.memberships
|
= @ordergroup.memberships.map{|m| m.user.nick}.join(', ')
|
||||||
%li= membership.user.nick
|
|
||||||
= link_to t('.invite'), new_invite_path(:id => @ordergroup), :remote => true, class: 'btn btn-primary'
|
= link_to t('.invite'), new_invite_path(:id => @ordergroup), :remote => true, class: 'btn btn-primary'
|
||||||
.span8
|
.span8
|
||||||
%h2= t('.account_summary')
|
%h2= t('.account_summary')
|
||||||
|
|
|
@ -857,10 +857,7 @@ en:
|
||||||
no_ordergroups: You are unfortunately not a member of an ordergroup.
|
no_ordergroups: You are unfortunately not a member of an ordergroup.
|
||||||
ordergroup:
|
ordergroup:
|
||||||
account_summary: Account Statement
|
account_summary: Account Statement
|
||||||
description: description
|
|
||||||
funds: ! 'Available credit:'
|
|
||||||
invite: Invite a new Person
|
invite: Invite a new Person
|
||||||
people: People
|
|
||||||
search: Search ...
|
search: Search ...
|
||||||
title: My ordergroup
|
title: My ordergroup
|
||||||
ordergroup_cancelled: You cancelled membership of the group %{group}.
|
ordergroup_cancelled: You cancelled membership of the group %{group}.
|
||||||
|
|
Loading…
Reference in a new issue