From a1ad344e492f2deb1c738a31deb72d54e0fe223a Mon Sep 17 00:00:00 2001 From: pete Date: Mon, 12 Apr 2010 08:49:34 +0000 Subject: Likes updated for plugins entity list display (just icon remaining to add) git-svn-id: http://code.elgg.org/elgg/trunk@5693 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css.php | 9 ++++++--- views/default/likes/forms/edit.php | 6 +++--- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'views') diff --git a/views/default/css.php b/views/default/css.php index e2b846886..cc7e86451 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -991,11 +991,11 @@ li.navigation_more ul li { margin-left:14px; text-align:right; } -.entity_metadata a { +.entity_metadata .entity_edit a { color:#aaaaaa; } -.entity_metadata a:hover { - color:#0054a7; +.entity_metadata .entity_edit a:hover { + color:#555555; } .entity_metadata .delete_button { margin-top:3px; @@ -1447,6 +1447,9 @@ a.action_button:focus { /* *************************************** LIKES *************************************** */ +.user_like_holder { + float:right; +} .likes_list_holder { position: relative; float:right; diff --git a/views/default/likes/forms/edit.php b/views/default/likes/forms/edit.php index 329479435..1e9cbd02c 100644 --- a/views/default/likes/forms/edit.php +++ b/views/default/likes/forms/edit.php @@ -14,7 +14,7 @@ if (isset($vars['entity']) && isloggedin()) { $url = elgg_add_action_tokens_to_url($vars['url'] . "action/likes/add?guid={$guid}"); //check to see if the user has already liked if (!elgg_annotation_exists($guid, 'likes') ) { - echo "" . elgg_echo('likes:likethis') . ""; + echo "" . elgg_echo('likes:likethis') . ""; } //display the number of likes $numoflikes = elgg_count_likes($vars['entity']); @@ -25,12 +25,12 @@ if (isset($vars['entity']) && isloggedin()) { $user_string = elgg_echo('likes:userslikedthis'); } - echo "
"; + echo "
"; + echo ""; } } -- cgit v1.2.3