-# Copyright (c) 2010, Diaspora Inc. This file is -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. :javascript $(document).ready(function(){ $(".image_thumb img").load( function() { $(this).fadeIn("slow"); }); }); = content_for :page_title do = link_to "◂ #{t('.albums')}", albums_path(:aspect => @aspect) - content_for :left_pane do = render "shared/aspect_friends" - content_for :publish do -if current_user.owns? @album .right =render 'photos/new_photo' = link_to t('.edit_album'), edit_album_path(@album), :class => 'button' %h1 = @album.name ="#{t('.updated')} #{how_long_ago(@album)}" .album_id{:id => @album.id, :style => "display:hidden;"} -unless current_user.owns? @album %h4= "#{t('.by')} #{@album.person.real_name}" #thumbnails - for photo in @album_photos .image_thumb = link_to (image_tag photo.url(:thumb_medium)), object_path(photo) #content_bottom .back = link_to "⇧ #{t('.albums')}", albums_path