More template fixes
This commit is contained in:
parent
b1156dcf0f
commit
a759461743
@ -1,3 +1,6 @@
|
|||||||
|
{if !isset($is_managing)}
|
||||||
|
{assign var="is_managing" value=false}
|
||||||
|
{/if}
|
||||||
<table class="entrylist">
|
<table class="entrylist">
|
||||||
<thead><tr>
|
<thead><tr>
|
||||||
{if !isset($delete)}<th></th>{/if}
|
{if !isset($delete)}<th></th>{/if}
|
||||||
@ -11,7 +14,9 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
{assign var="i" value=0}
|
{assign var="i" value=0}
|
||||||
{foreach from=$entries key=entryid item=entry}
|
{foreach from=$entries key=entryid item=entry}
|
||||||
{if count($entry.$fetch)>0 && !$is_managing}<tr><td colspan="{if isset($delete)}5{else}7{/if}">{$entryid|idToSubject} ({$entryid})</td></tr>
|
{if isset($entry.$fetch)}
|
||||||
|
{if count($entry.$fetch)>0 && !$is_managing}
|
||||||
|
<tr><td colspan="{if isset($delete)}5{else}7{/if}">{$entryid|idToSubject} ({$entryid})</td></tr>
|
||||||
{/if}
|
{/if}
|
||||||
{foreach from=$entry.$fetch item=comm key=comm_id}
|
{foreach from=$entry.$fetch item=comm key=comm_id}
|
||||||
{assign var="i" value=$i+1}
|
{assign var="i" value=$i+1}
|
||||||
@ -48,6 +53,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</tr>
|
</tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{if $i==0}
|
{if $i==0}
|
||||||
<tr><td colspan="{if isset($delete)}5{else}7{/if}">{$plang.app_nocomms}</td></tr>{/if}
|
<tr><td colspan="{if isset($delete)}5{else}7{/if}">{$plang.app_nocomms}</td></tr>{/if}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user