Commit 8e6cbcc4 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Display messages in empty dashboard blocks


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 4077c54e
......@@ -33,5 +33,5 @@ $string['messagetypes'] = 'Message types to display';
$string['maxitems'] = 'Maximum number of items to display';
$string['maxitemsdescription'] = 'Between 1 and 100';
$string['More'] = 'More';
$string['nomessages'] = 'No messages';
?>
{if !$items}
{str tag=nomessages section=blocktype.inbox}
{else}
<table>
{foreach from=$items item=i}
<tr>
......@@ -48,4 +51,5 @@ addLoadEvent(function() {
});
});
{/literal}
</script>
\ No newline at end of file
</script>
{/if}
\ No newline at end of file
......@@ -18,4 +18,6 @@
</div>
{/if}
{/foreach}
{else}
{str tag=noviews section=view}
{/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