aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/river/dashboard.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/views/default/river/dashboard.php b/views/default/river/dashboard.php
index 152923f66..b1c0e614a 100644
--- a/views/default/river/dashboard.php
+++ b/views/default/river/dashboard.php
@@ -13,9 +13,13 @@
$river = $vars['river'];
?>
<div id="river">
- <h1><?php echo elgg_echo('river'); ?></h1>
<?
- foreach ($river as $r)
- echo "<div>$r</div>";
+ if (($river) && (count($river)>0))
+ {
+ foreach ($river as $r)
+ echo "<div>$r</div>";
+ }
+ else
+ echo elgg_echo('river:widget:noactivity');
?>
</div> \ No newline at end of file