Introduced actionbar. Some fixes for balancing page.

This commit is contained in:
benni 2012-11-12 13:13:01 +01:00
parent 1d9815731c
commit f4f10b1e4c
26 changed files with 90 additions and 78 deletions

View file

@ -54,7 +54,7 @@
%th Wer
%th Notiz
%th Betrag
- for ft in current_user.ordergroup.financial_transactions.limit(5)
- for ft in current_user.ordergroup.financial_transactions.limit(5).order('created_on DESC')
%tr
%td= format_time(ft.created_on)
%td= h(ft.user.nil? ? '?' : ft.user.nick)

View file

@ -1,4 +1,4 @@
-title "Meine Bestellgruppe"
- title "Meine Bestellgruppe", false
.row-fluid
.span4
@ -11,10 +11,10 @@
%b Verfügbares Guthaben:
= number_to_currency(@ordergroup.get_available_funds())
%h2 Personen
%ul{:style => "list-style-type:decimal;"}
%ul
- for membership in @ordergroup.memberships
%li= membership.user.nick
= link_to('Person einladen', new_invite_path(:id => @ordergroup), :remote => true)
= link_to 'Neue Person einladen', new_invite_path(:id => @ordergroup), :remote => true, class: 'btn btn-primary'
.span8
%h2 Kontoauszug
.well.well-small