Skip to content

Commit

Permalink
Merge pull request #167 from ggoffy/master
Browse files Browse the repository at this point in the history
fixed bug in tpl
  • Loading branch information
ggoffy authored Aug 11, 2021
2 parents 9c40e33 + 31ee3b2 commit 899d26d
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 899d26d

Please sign in to comment.