Refactored finance/ordergroups|transactions module.

This commit is contained in:
benni 2011-06-09 21:35:05 +02:00
parent fc1d130113
commit ea6348bc5c
38 changed files with 967 additions and 443 deletions

View file

@ -1,9 +1,10 @@
- content = wikified_body @page.body, @page.title
- toc = generate_toc @page.body
- unless toc.blank?
#wikitoc
%h2
%h2
Inhaltsverzeichnis
%span= link_to_function "[verstecken]", "Element.toggle('wikitoc-content')"
#wikitoc-content= toc
#wiki_content= content
= content

View file

@ -10,9 +10,6 @@
%span.wikiSeparator >
= @page.title
%h1
= @page.title
#sidebar
#sidebar-links
= link_to "Bearbeiten", edit_page_path(@page)
@ -38,7 +35,10 @@
- for page in @page.children
%li= link_to_wikipage(page)
= render :partial => 'body'
#wiki_content
%h1
= @page.title
= render :partial => 'body'
%hr.clear/
%p