diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-08-31 21:52:23 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-08-31 21:52:23 +0000 |
| commit | 978d8132a8406b258cccecf837165a330f277074 (patch) | |
| tree | 1fdf4aa3424c32a81d77c99dd9316f2d1a396d1a /templates/board_cat.tpl | |
| parent | eb421b25a4362ab0738906fd703760279a3a61eb (diff) | |
| download | boards-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.tpl | 18 |
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} |
