summaryrefslogtreecommitdiff
path: root/templates/board_cat.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-08-31 21:52:23 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-08-31 21:52:23 +0000
commit978d8132a8406b258cccecf837165a330f277074 (patch)
tree1fdf4aa3424c32a81d77c99dd9316f2d1a396d1a /templates/board_cat.tpl
parenteb421b25a4362ab0738906fd703760279a3a61eb (diff)
downloadboards-978d8132a8406b258cccecf837165a330f277074.tar.gz
boards-978d8132a8406b258cccecf837165a330f277074.tar.bz2
boards-978d8132a8406b258cccecf837165a330f277074.zip
fiddle with layout and add semi-useful sample css
Diffstat (limited to 'templates/board_cat.tpl')
-rw-r--r--templates/board_cat.tpl18
1 files changed, 8 insertions, 10 deletions
diff --git a/templates/board_cat.tpl b/templates/board_cat.tpl
index 24cf670..a0d20e1 100644
--- a/templates/board_cat.tpl
+++ b/templates/board_cat.tpl
@@ -1,17 +1,15 @@
{strip}
- <h2>{$child.data.title}</h2>
+ <div class="indent">
+ {if count($child.members) > 0}
+ {include file="bitpackage:bitboards/board_table.tpl" boardsList=$child.members heading=$heading}
+ {/if}
- {if count($child.members) > 0}
- <div class="indent">
- {include file="bitpackage:bitboards/board_table.tpl" boardsList=$child.members}
- </div>
- {/if}
+ {assign var=heading value=''}
- {if !empty($child.sub_count) && count($child.children)>0}
- <div class="indent">
+ {if !empty($child.sub_count) && count($child.children)>0}
{foreach from=$child.children item=schild}
{include file="bitpackage:bitboards/board_cat.tpl" child=$schild color=$scolor}
{/foreach}
- </div>
- {/if}
+ {/if}
+ </div>
{/strip}