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

### <{$homework_data.0.toCal}> (<{$homework_data.0.Week}>) <{$smarty.const._MD_TCW_HOMEWORK}> <{if !$showWebTitleHomework && $isMineHomework}> <{/if}>

<{$homework_data.0.HomeworkContent}>

<{foreach from=$homework_data key=i item=homework}> <{if $i > 0}>
- <{$homework.HomeworkCounter}> <{$homework.toCal}> (<{$homework.Week}>) <{$smarty.const._MD_TCW_HOMEWORK}> <{if !$showWebTitleHomework && $isMineHomework}> <{/if}>
<{/if}> <{/foreach}>

<{foreach from=$yet_data key=i item=homework}> <{if $i > 0}>
- <{$homework.HomeworkCounter}> <{$homework.toCal}> (<{$homework.Week}>) <{$smarty.const._MD_TCW_HOMEWORK}> <{if !$showWebTitleHomework && $isMineHomework}> <{/if}> <{$homework.display_at}>
<{/if}> <{/foreach}>

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

# <{$homework.PluginTitle}>

<{/if}>

<{$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.WebName}> <{$homework.toCal}> (<{$homework.Week}>) <{$smarty.const._MD_TCW_HOMEWORK}> | <{$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}>