diaspora/app/views/albums/index.html.haml
2010-08-11 17:16:20 -07:00

26 lines
598 B
Text

%h1.big_text
.back
= link_to "⇧ home", root_path
Albums
.right
= link_to 'New Album', '#new_album_pane', {:class => "button", :id => "add_album_button"}
.yo{:style => "display:none;" }
#new_album_pane
= render "albums/new_album"
.sub_header
%ul.button_set
%li{:class => ("selected" if params[:friends])}= friends_albums_link
%li{:class => ("selected" if not params[:friends])}= your_albums_link
%div
- for album in @albums
= render "album", :post => album
#pagination
= will_paginate @albums
#content_bottom
.back
= link_to "⇧ home", root_path