From 947dc114a9cfd19f2eabce9fb9eb359f7d2d11b9 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 28 Aug 2012 15:14:29 +0000 Subject: [PATCH] Tarea #1046 -> Cambio en la forma de mostrar la lista de amigos en el perfil. git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@145 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6 --- .../buddypress-my-friends-widgets.php | 28 ++++++++++++++----- .../themes/score/lib/scripts/custom.php | 9 ++++++ wp-content/themes/score/style-asong2u.css | 11 ++++++++ 3 files changed, 41 insertions(+), 7 deletions(-) diff --git a/wp-content/plugins/buddypress-my-friends-widgets/buddypress-my-friends-widgets.php b/wp-content/plugins/buddypress-my-friends-widgets/buddypress-my-friends-widgets.php index d5e2888..77b0f55 100644 --- a/wp-content/plugins/buddypress-my-friends-widgets/buddypress-my-friends-widgets.php +++ b/wp-content/plugins/buddypress-my-friends-widgets/buddypress-my-friends-widgets.php @@ -91,17 +91,31 @@ if ( !function_exists( 'bp_core_install' ) ) { . 'My Friends' . $after_title; ?> - +
+ + - - - + + + + + + + + + + +
+ + + + + +
+
- 12) : ?> - -
diff --git a/wp-content/themes/score/lib/scripts/custom.php b/wp-content/themes/score/lib/scripts/custom.php index ca652ed..a578332 100644 --- a/wp-content/themes/score/lib/scripts/custom.php +++ b/wp-content/themes/score/lib/scripts/custom.php @@ -274,4 +274,13 @@ jQuery(document).ready(function(){ }); }); +jQuery(document).ready(function(){ + jQuery('#my-friends-big-avatars div.see_more').hide(); + jQuery('#my-friends-big-avatars span.see_more').click(function() { + jQuery('#my-friends-big-avatars span.see_more').hide(); + jQuery('#my-friends-big-avatars div.see_more').toggle('fast', function() {}); + }); +}); + + \ No newline at end of file diff --git a/wp-content/themes/score/style-asong2u.css b/wp-content/themes/score/style-asong2u.css index 226d721..c0b9fd6 100644 --- a/wp-content/themes/score/style-asong2u.css +++ b/wp-content/themes/score/style-asong2u.css @@ -932,6 +932,17 @@ p.srp-widget-excerpt { height: 65px; } +#sidebar #my-friends-big-avatars.widget .avatar-block span.see_more, +#sidebar #my-friends-big-avatars.widget .avatar-block a.see_more { + display: block; + width: 100%; + height: auto; + color: #F5B00C; + font-size: 14px; + font-weight: bold; + cursor: pointer; +} + #sidebar #my-friends-big-avatars.widget .avatar-link { background: none repeat scroll 0 0 #CCE6F5; border: 1px solid #2C85C7;