VRFS-931 Band tweaks

This commit is contained in:
Daniel Weigh 2014-01-21 21:56:03 -05:00
parent b8a51e9f6c
commit b5a32b0a53
3 changed files with 10 additions and 2 deletions

View File

@ -77,6 +77,10 @@ if @search.bands_filter_search?
@search.is_follower?(band)
end
node :biography do |band|
band.biography.nil? ? "" : band.biography
end
child :genres => :genres do
attributes :genre_id, :description
end

View File

@ -26,4 +26,8 @@ node :genres do |band|
attributes :id, :description
end
end
end
end
node :biography do |band|
band.biography.nil? ? "" : band.biography
end

View File

@ -22,7 +22,7 @@
<!-- Session Row Template -->
<script type="text/template" id="template-find-band-row">
<div class="profile-band-list-result band-list-result">
<div style="float:left">
<div class="left">
<!-- avatar -->
<div class="avatar-small"><img src="{avatar_url}" /></div>