<{if $homework_data}> <{if $isMineHomework}>
<{/if}> <{if $WebID}>

### <{$homework_data.0.HomeworkTitle}> <{if !$showWebTitleHomework && $isMineHomework}> <{/if}>

<{$homework_data.0.HomeworkContent}>

<{foreach from=$homework_data key=i item=homework}> <{if $i > 0}>
- <{$homework.HomeworkCounter}> <{$homework.Date}> <{$homework.HomeworkTitle}> <{if !$showWebTitleHomework && $isMineHomework}> <{/if}>
<{/if}> <{/foreach}>

<{else}> <{if ($WebID=="" and $display_mode=='index') or $display_mode=='home'}>

# <{$homework.PluginTitle}>

<{/if}>

<{$smarty.const._MD_TCW_HOMEWORKDATE}> | <{$smarty.const._MD_TCW_HOMEWORK}> | <{$smarty.const._MD_TCW_HOMEWORKCOUNTER}> <{if $showWebTitleHomework}> | <{$smarty.const._MD_TCW_TEAMID}> <{/if}> <{if !$showWebTitleHomework && $isMineHomework}> | <{$smarty.const._TAD_FUNCTION}> <{/if}>
--- | --- | --- | --- | ---
<{foreach item=homework from=$homework_data}>
<{$homework.Date}> | <{$homework.HomeworkTitle}> | <{$homework.HomeworkCounter}> <{if $showWebTitleHomework}> | <{$homework.WebTitle}> <{/if}> <{if !$showWebTitleHomework && $isMineHomework}> | <{$smarty.const._TAD_DEL}> <{$smarty.const._TAD_EDIT}> <{/if}>
<{/foreach}>

<{$homework_bar}> <{/if}>
<{if $homework_bar==""}> <{if $WebID==""}> <{$smarty.const._MD_TCW_MORE}><{$smarty.const._MD_TCW_HOMEWORK_SHORT}> <{else}> <{$smarty.const._MD_TCW_MORE}><{$smarty.const._MD_TCW_HOMEWORK_SHORT}> <{/if}> <{/if}> <{if $isMineHomework and $WebID}> <{$smarty.const._MD_TCW_ADD}><{$smarty.const._MD_TCW_HOMEWORK_SHORT}> <{/if}>
<{/if}>