Skip to content

Commit

Permalink
fixed bug in tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
ggoffy committed Aug 11, 2021
1 parent 78aaca8 commit 31ee3b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/blocks/publisher_items_spot.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<{/if}>
<{/if}>

<{if $block.display_type|default:'' == block'}>
<{if $block.display_type|default:'' == 'block'}>
<{foreach item=item from=$block.items|default:false}>
<{include file="db:publisher_singleitem_block.tpl" item=$item}>
<{/foreach}>

<{else}>
<{foreach item=item from=$block.items name=spotlight}>
<{if $item.summary|default:'''}>
<{if $item.summary|default:''}>
<div class="itemText" style="padding-left: 5px; padding-top: 5px;">
<div>
<img style="vertical-align: middle;" src="<{$block.publisher_url}>/assets/images/links/doc.png" alt="">&nbsp;<{$item.titlelink}>
Expand Down

0 comments on commit 31ee3b2

Please sign in to comment.