aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 18:06:48 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 18:06:48 +0000
commitbd885b0d4c4ec64b4157ba3f1f53cc317c1062a9 (patch)
treeb9703518ab8aa7df6db014a5008e46fcc4761ace /views/default
parent76e5ffc68c6470912d3006a316139c6df1d80cea (diff)
downloadelgg-bd885b0d4c4ec64b4157ba3f1f53cc317c1062a9.tar.gz
elgg-bd885b0d4c4ec64b4157ba3f1f53cc317c1062a9.tar.bz2
Relationship river items are now correctly wrapped in divs
git-svn-id: https://code.elgg.org/elgg/trunk@1321 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/river/wrapper.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/river/wrapper.php b/views/default/river/wrapper.php
index e00daa71d..0a38b1ac0 100644
--- a/views/default/river/wrapper.php
+++ b/views/default/river/wrapper.php
@@ -17,6 +17,8 @@
if (empty($subtype)) $subtype = $vars['entity']->type;
if (empty($subtype)) $subtype = "general";
+ } else if ($vars['log']->object_class == "ElggRelationship") {
+ $subtype = "relationship_" . $vars['entity']->relationship;
}
?>