Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 57d1e5a2

Von Hans Peter Schlaepfer vor fast 6 Jahren hinzugefügt

  • ID 57d1e5a21a769188495fe65c131706c24b21d7fd
  • Vorgänger 489e85ab
  • Nachfolger 6b7dea91

Neues kivitendo Design Aenderungen in templates/webpages/m*

Dateien mass_delivery_order_print/* mass_invoice_create_print_from_do/*
menu/*

Unterschiede anzeigen:

templates/webpages/menu/menuv3.html
1
[%- USE L %]
2
[%- USE HTML %]
3
<div id="menuv3">[% FOREACH node = menu.tree %][% NEXT UNLESS node.visible %]<ul><li>[% PROCESS submenu top=1 %]</li></ul>[% END %]</div>
1
[% USE L %]
2
[% USE HTML %]
3

  
4
<div id="menuv3">
5
  [% FOREACH node = menu.tree %][% NEXT UNLESS node.visible %]
6
  <ul>
7
    <li>[% PROCESS submenu top=1 %]</li>
8
  </ul>
9
  [% END %]
10
  </div>
4 11
<div style="clear: both;"></div>
5
[%- %]
6
[%- BLOCK submenu %]
7
  [%- IF top              %]<h2>[% menu.name_for_node(node) | html %]</h2>
8
  [%- ELSIF node.children %]<div class="x">[% menu.name_for_node(node) | html %]</div>
9
  [%- ELSE                %][% L.link(menu.href_for_node(node), menu.name_for_node(node), title=menu.name_for_node(node), target=node.target) %]
10
  [%- END %]
11
  [%- IF node.children %]<ul>[%- FOREACH node = node.children %][% NEXT UNLESS node.visible %]<li>[% PROCESS submenu top=0 %]</li>[% END %]</ul>[%- END %]
12
[%- END %]
12
[% %]
13
[% BLOCK submenu %]
14
  [% IF top %]
15
    [% menu.name_for_node(node) | html %]
16
  [% ELSIF node.children %]
17
    <div class="x">[% menu.name_for_node(node) | html %]</div>
18
  [% ELSE                %]
19
    [% IF node.target %]
20
      [% L.link(menu.href_for_node(node), menu.name_for_node(node), title=menu.name_for_node(node), target=node.target) %]
21
    [% ELSE %]
22
      [% L.link(menu.href_for_node(node), menu.name_for_node(node), title=menu.name_for_node(node)) %]
23
    [% END %]
24
  [% END %]
25
  [% IF node.children %]
26
    <ul>
27
      [% FOREACH node = node.children %]
28
        [% NEXT UNLESS node.visible %]<li>[% PROCESS submenu top=0 %]</li>
29
      [% END %]
30
    </ul>
31
  [% END %]
32
[% END %]

Auch abrufbar als: Unified diff