Skip to content
Extraits de code Groupes Projets
Valider fe57a698 rédigé par Daniel Vincent Grippi's avatar Daniel Vincent Grippi
Parcourir les fichiers

minor cleanup on album flow

parent aa5447f5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -24,13 +24,14 @@
});
= content_for :page_title do
= link_to "Albums", albums_path
= link_to "Home", aspects_path
- content_for :left_pane do
= render "shared/aspect_friends"
- content_for :publish do
%br
%h1
Albums
= link_to 'New Album', '#new_album_pane', {:class => "button", :id => "add_album_button"}
.yo{:style => "display:none;" }
......
......@@ -25,21 +25,19 @@
});
= content_for :page_title do
= link_to @album.name, @album
= link_to "Albums", albums_path
- content_for :left_pane do
= render "shared/aspect_friends"
- content_for :publish do
-if current_user.owns? @album
=render 'photos/new_photo'
%h1
= @album.name
="updated #{how_long_ago(@album)}"
.album_id{:id => @album.id, :style => "display:hidden;"}
.sub_header
="updated #{how_long_ago(@album)}"
-unless current_user.owns? @album
%h4= "by #{@album.person.real_name}"
......@@ -47,6 +45,8 @@
- for photo in @album_photos
.image_thumb
= link_to (image_tag photo.url(:thumb_medium)), object_path(photo)
-if current_user.owns? @album
=render 'photos/new_photo'
#content_bottom
.back
......
......@@ -56,9 +56,6 @@
%span.sub_text
PREVIEW
%span{:style => "padding-left:30px;"}
= link_to "photos", albums_path
#session_action
%ul
%li#global_search
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter