fixed photo show header
This commit is contained in:
parent
b49eaa1ceb
commit
01b14a66e8
4 changed files with 14 additions and 13 deletions
|
|
@ -24,7 +24,7 @@
|
|||
});
|
||||
|
||||
= content_for :page_title do
|
||||
= link_to "Home", aspects_path
|
||||
= link_to "◂ Home", aspects_path
|
||||
|
||||
- content_for :left_pane do
|
||||
= render "shared/aspect_friends"
|
||||
|
|
@ -32,6 +32,7 @@
|
|||
- content_for :publish do
|
||||
%h1
|
||||
Albums
|
||||
.right
|
||||
= link_to 'New Album', '#new_album_pane', {:class => "button", :id => "add_album_button"}
|
||||
|
||||
.yo{:style => "display:none;" }
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
});
|
||||
|
||||
= content_for :page_title do
|
||||
= link_to "Albums", albums_path
|
||||
= link_to "◂ Albums", albums_path
|
||||
|
||||
- content_for :left_pane do
|
||||
= render "shared/aspect_friends"
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@
|
|||
.page_title
|
||||
= yield :page_title
|
||||
|
||||
.span-19.last
|
||||
.span-19.last{ :style => "position:relative;" }
|
||||
= yield :publish
|
||||
|
||||
.container
|
||||
|
|
|
|||
|
|
@ -30,26 +30,26 @@
|
|||
});
|
||||
|
||||
= content_for :page_title do
|
||||
= link_to "Photo", @photo
|
||||
= link_to "◂ #{@photo.album.name}", @photo.album
|
||||
|
||||
- content_for :left_pane do
|
||||
= render "shared/aspect_friends"
|
||||
|
||||
|
||||
%h1.big_text
|
||||
- content_for :publish do
|
||||
%h1
|
||||
= @photo.image
|
||||
|
||||
.right
|
||||
-if current_user.owns? @album
|
||||
= link_to 'Edit Photo', edit_photo_path(@photo), :class => "button"
|
||||
|
||||
.sub_header
|
||||
= link_to "<< prev", url_to_prev(@photo, @album)
|
||||
|
|
||||
= link_to "full size", @photo.url
|
||||
|
|
||||
= link_to "next >>", url_to_next(@photo, @album)
|
||||
|
||||
.right
|
||||
-if current_user.owns? @album
|
||||
= link_to 'Edit Photo', edit_photo_path(@photo), :class => "button"
|
||||
|
||||
|
||||
%div{:id => @photo.id}
|
||||
#show_photo
|
||||
= linked_scaled_photo @photo, @album
|
||||
|
|
|
|||
Loading…
Reference in a new issue