Commit 399557c1 authored by Nigel McNie's avatar Nigel McNie
Browse files

If there are no blocktypes to display, template a message to say as much to the user

parent 2addabfc
{if $blocktypes}
<ul>
{foreach from=$blocktypes item=blocktype}
<li>
......@@ -10,3 +11,6 @@
</li>
{/foreach}
<ul>
{else}
<div id="noblocks">{str tag='noblocks' section='view'}</div>
{/if}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment