Skip to content

Commit

Permalink
Talked to Rick. He suggested calculating balances instead of caching
Browse files Browse the repository at this point in the history
Revert "Changed accounts index view to clean up display"

This reverts commit 603ad14.
  • Loading branch information
arafatm committed Jan 7, 2009
1 parent 2f31491 commit 02d337b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/views/accounts/index.html.haml
Expand Up @@ -3,9 +3,9 @@

%table.account
- for i in 0...@accounts.length
- if i % 2 == 0 # This is a header
- if i % 2 == 0
%tr.element
%td.element{:colspan => "2"}
%td.element{:span => "2"}
%h1.element= @accounts[i]
- else
- accounts = @accounts[i]
Expand Down
5 changes: 0 additions & 5 deletions public/stylesheets/sass/main.sass
Expand Up @@ -64,16 +64,11 @@ a:hover
table.account
:margin 1ex 3ex
:border-collapse collapse
td
:padding 0ex .5ex
:border 1px solid black
td.element
:text-align left
:padding 1em 0em
h1.element
:font-size 1.6em
td.balance
:text-align right

table.journal
:margin 1ex 3ex
Expand Down

0 comments on commit 02d337b

Please sign in to comment.