From bdb57e6d54812975b4098c92e756fd4f307e889f Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Sat, 1 Nov 2014 23:35:17 -0400 Subject: [PATCH] VRFS-2297 added tool tips to session and recording hover bubbles --- web/app/views/clients/_hoverBand.html.erb | 8 ++++---- web/app/views/clients/_hoverFan.html.erb | 6 +++--- web/app/views/clients/_hoverMusician.html.erb | 10 +++++----- web/app/views/clients/_hoverRecording.html.erb | 6 +++--- web/app/views/clients/_hoverSession.html.erb | 4 ++-- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/web/app/views/clients/_hoverBand.html.erb b/web/app/views/clients/_hoverBand.html.erb index bced2bc54..6be6ddda9 100644 --- a/web/app/views/clients/_hoverBand.html.erb +++ b/web/app/views/clients/_hoverBand.html.erb @@ -46,7 +46,7 @@ } function adjustBandFollowingCount(value) { - // $("#spnFollowCount", "#band-hover").text(parseInt($("#spnFollowCount", "#band-hover").text()) + value); + $("#spnFollowCount", "#band-hover").text(parseInt($("#spnFollowCount", "#band-hover").text()) + value); } @@ -57,9 +57,9 @@

{name}

{location}
{genres}


- {follower_count} - {recording_count} - {session_count} + {follower_count} + {recording_count} + title="sessions">{session_count}


diff --git a/web/app/views/clients/_hoverFan.html.erb b/web/app/views/clients/_hoverFan.html.erb index 3fbb36cc4..6d4606675 100644 --- a/web/app/views/clients/_hoverFan.html.erb +++ b/web/app/views/clients/_hoverFan.html.erb @@ -36,7 +36,7 @@ } function adjustFanFollowingCount(value) { - // $("#spnFollowCount", "#fan-hover").text(parseInt($("#spnFollowCount", "#fan-hover").text()) + value); + $("#spnFollowCount", "#fan-hover").text(parseInt($("#spnFollowCount", "#fan-hover").text()) + value); } function sendFanFriendRequest(userId) { @@ -65,8 +65,8 @@

{name}

{location}

- {friend_count} - {follower_count} + {friend_count} + {follower_count}


{biography}

diff --git a/web/app/views/clients/_hoverMusician.html.erb b/web/app/views/clients/_hoverMusician.html.erb index 72ce71b1c..c92db5704 100644 --- a/web/app/views/clients/_hoverMusician.html.erb +++ b/web/app/views/clients/_hoverMusician.html.erb @@ -70,7 +70,7 @@ } function adjustMusicianFollowingCount(value) { - // $(".follower-count", "#musician-hover").html(parseInt($("#spnFollowCount", "#musician-hover").html()) + value); + $("#spnFollowCount", "#musician-hover").html(parseInt($("#spnFollowCount", "#musician-hover").html()) + value); } function sendMusicianFriendRequest(userId) { @@ -102,10 +102,10 @@ {location}

{instruments}
- {friend_count} - {follower_count} - {recording_count} - {session_count} + {friend_count} + {follower_count} + {recording_count} + {session_count}

diff --git a/web/app/views/clients/_hoverRecording.html.erb b/web/app/views/clients/_hoverRecording.html.erb index 214cf3df6..5e9dbed9a 100644 --- a/web/app/views/clients/_hoverRecording.html.erb +++ b/web/app/views/clients/_hoverRecording.html.erb @@ -22,9 +22,9 @@
{description}
- {play_count}      - {comment_count}      - {like_count} + {play_count} > + {comment_count} + {like_count}


diff --git a/web/app/views/clients/_hoverSession.html.erb b/web/app/views/clients/_hoverSession.html.erb index c9081737f..a1850dd58 100644 --- a/web/app/views/clients/_hoverSession.html.erb +++ b/web/app/views/clients/_hoverSession.html.erb @@ -23,8 +23,8 @@
{name}
{description}
- {comment_count}     - {like_count} + {comment_count} + {like_count}

MUSICIANS: