From 78c759562e3c015463bbf0df0f474aa2aa863280 Mon Sep 17 00:00:00 2001 From: magnolia-fan Date: Wed, 13 Apr 2011 02:14:06 +0400 Subject: [PATCH] Adding entire album or artist to playlist, -add- icon. closes #35 --- app/views/artist/view.rhtml | 14 +++++++-- public/images/player/add.svg | 5 ++++ public/javascripts/player.js | 10 +++++-- public/stylesheets/beathaven.css | 51 ++++++++++++++++++++++++-------- 4 files changed, 63 insertions(+), 17 deletions(-) create mode 100644 public/images/player/add.svg diff --git a/app/views/artist/view.rhtml b/app/views/artist/view.rhtml index c8a2073..749809f 100644 --- a/app/views/artist/view.rhtml +++ b/app/views/artist/view.rhtml @@ -4,16 +4,24 @@ <%= link_to "Try again", main_path %> <% else %> -

<%= @artist.name %>

+

+ + <%= @artist.name %> + play + +

<% @albums.each do |album| %>
-

<%= album[:object].name %> <%= (album[:object].year ? album[:object].year : '') %>

+

+ <%= album[:object].name %> <%= (album[:object].year ? album[:object].year : '') %> + play +