From e8e224dbaa0eafc90f28173d67c33231c72458ca Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Thu, 20 Feb 2014 08:38:36 -0500 Subject: [PATCH 1/2] VRFS-1189 music session playback --- web/app/views/music_sessions/show.html.erb | 41 +++++++++++++++++++--- web/app/views/recordings/show.html.erb | 9 ++--- 2 files changed, 42 insertions(+), 8 deletions(-) diff --git a/web/app/views/music_sessions/show.html.erb b/web/app/views/music_sessions/show.html.erb index 74ae13253..4b997877e 100644 --- a/web/app/views/music_sessions/show.html.erb +++ b/web/app/views/music_sessions/show.html.erb @@ -52,10 +52,13 @@
- <%= image_tag "content/icon_playbutton.png", {:width => 20, :height => 20, :alt => ""} %> + <%= image_tag "content/icon_playbutton.png", {:id => "imgPlayPause", :width => 20, :height => 20, :alt => ""} %> <% if @music_session.session_removed_at.blank? %>
SESSION IN PROGRESS
-
1:23
+
+ <% else %>
LIVE SESSION ENDED
<% end %> @@ -99,8 +102,38 @@ <% content_for :extra_js do %> <% end %> diff --git a/web/app/views/recordings/show.html.erb b/web/app/views/recordings/show.html.erb index 1eef34c11..ceb08a75f 100644 --- a/web/app/views/recordings/show.html.erb +++ b/web/app/views/recordings/show.html.erb @@ -51,7 +51,7 @@
<%= @claimed_recording.description %>

- <%= image_tag "content/icon_playbutton.png", {:id => "imgPlayPause", :width => 20, :height => 20, :alt => ""} %> + <%= image_tag "content/icon_playbutton.png", {:id => "imgPlayPause", :width => 20, :height => 20, :alt => ""} %>
0:00
@@ -102,6 +102,10 @@ <% content_for :extra_js do %>