diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-07 18:06:48 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-07 18:06:48 +0000 |
commit | bd885b0d4c4ec64b4157ba3f1f53cc317c1062a9 (patch) | |
tree | b9703518ab8aa7df6db014a5008e46fcc4761ace /views/default/river | |
parent | 76e5ffc68c6470912d3006a316139c6df1d80cea (diff) | |
download | elgg-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/river')
-rw-r--r-- | views/default/river/wrapper.php | 2 |
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;
}
?>
|