Refactored finance/ordergroups|transactions module.
This commit is contained in:
parent
fc1d130113
commit
ea6348bc5c
38 changed files with 967 additions and 443 deletions
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue