aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/river/item/wrapper.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/views/default/river/item/wrapper.php b/views/default/river/item/wrapper.php
index efa377ceb..ca7f7dc25 100644
--- a/views/default/river/item/wrapper.php
+++ b/views/default/river/item/wrapper.php
@@ -18,19 +18,21 @@
<div class="river_<?php echo $vars['item']->type; ?>">
<div class="river_<?php echo $vars['item']->subtype; ?>">
<div class="river_<?php echo $vars['item']->action_type; ?>">
- <div class="river_<?php echo $vars['item']->type; ?>_<?php echo $vars['item']->subtype; ?>_<?php echo $vars['item']->action_type; ?>">
- <span class="river_item_time">
- <?php
+ <div class="river_<?php echo $vars['item']->type; ?>_<?php if($vars['item']->subtype) echo $vars['item']->subtype . "_"; ?><?php echo $vars['item']->action_type; ?>">
+ <p>
+ <?php
echo $vars['body'];
- ?>
+ ?>
+ <span class="river_item_time">
(<?php
echo friendly_time($vars['item']->posted);
?>)
</span>
+ </p>
</div>
</div>
</div>