From fba2603304353f83a54addf2b6b8acb52fa7ee87 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 9 Nov 2015 15:58:19 -0800 Subject: add avatars to likes/dislikes/etc. --- include/conversation.php | 4 ++-- view/css/conversation.css | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/include/conversation.php b/include/conversation.php index a5fe573cd..c278dcf12 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1024,8 +1024,8 @@ function builtin_activity_puller($item, &$conv_responses) { if((activity_match($item['verb'], $verb)) && ($item['id'] != $item['parent'])) { $name = (($item['author']['xchan_name']) ? $item['author']['xchan_name'] : t('Unknown')); - $url = (($item['author']['xchan_url']) - ? '' . $name . '' + $url = (($item['author']['xchan_url'] && $item['author']['xchan_photo_s']) + ? '' . ' ' . $name . '' : '' . $name . '' ); diff --git a/view/css/conversation.css b/view/css/conversation.css index 6f1d4b899..dc74dbbeb 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -246,3 +246,9 @@ a.wall-item-name-link { color: #FF0000; font-size: 1em !important; } + +.response-photo { + height: 18px !important; + width: 18px !important; +} + -- cgit v1.2.3