Mercurial > hg > nginx-site
comparison xsls/body.xsls @ 131:8beaff4b3b6b
Empty table was generated if document has no sections, or they are
all anonymous.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 21 Oct 2011 14:20:17 +0000 |
parents | 7db449e89e92 |
children | be54c443235a |
comparison
equal
deleted
inserted
replaced
130:3052a722a1a4 | 131:8beaff4b3b6b |
---|---|
32 | 32 |
33 </tr> | 33 </tr> |
34 | 34 |
35 <tr><td valign="top"> | 35 <tr><td valign="top"> |
36 | 36 |
37 <table width="100%"><tr><td align="{$INDEX_ALIGN}"> | 37 X:if "section[@name]" { |
38 X:for-each "section[@id and @name]" { | 38 <table width="100%"><tr><td align="{$INDEX_ALIGN}"> |
39 <a href="#{@id}"> !{@name} </a><br/> | 39 X:for-each "section[@id and @name]" { |
40 X:if "@id = 'directives'" { | 40 <a href="#{@id}"> !{@name} </a><br/> |
41 X:for-each "directive[@name]" { | 41 X:if "@id = 'directives'" { |
42 X:text{     } | 42 X:for-each "directive[@name]" { |
43 <a href="#{@name}"> !{@name} </a><br/> | 43 X:text{     } |
44 <a href="#{@name}"> !{@name} </a><br/> | |
45 } | |
44 } | 46 } |
45 } | 47 } |
48 </td></tr></table> | |
46 } | 49 } |
47 </td></tr></table> | |
48 | 50 |
49 !!; | 51 !!; |
50 | 52 |
51 X:if "@author" { | 53 X:if "@author" { |
52 <table width="100%"><tr><td align="right"> | 54 <table width="100%"><tr><td align="right"> |