added prefetch rels to prev/next links in photo show. fixed shadow bug in header
This commit is contained in:
parent
2735cb026d
commit
5ca3570667
3 changed files with 6 additions and 5 deletions
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
%ul.tools
|
||||
%li= link_to t('.add_a_new_friend'), "#add_request_pane_#{aspect.id}", :class => 'add_request_button'
|
||||
%li= link_to t('.show'), aspect_path(aspect)
|
||||
/%li= link_to t('.show'), aspect_path(aspect)
|
||||
%li!= remove_link(aspect)
|
||||
|
||||
%ul.dropzone{:id => aspect.id}
|
||||
|
|
@ -61,4 +61,3 @@
|
|||
%div{:id => "add_request_pane_#{aspect.id}"}
|
||||
= render "requests/new_request", :aspect => aspect
|
||||
|
||||
#content_bottom
|
||||
|
|
|
|||
|
|
@ -66,11 +66,11 @@
|
|||
%h1
|
||||
= @photo.image
|
||||
|
||||
= link_to "<< #{t('.prev')}", url_to_prev(@photo, @album)
|
||||
= link_to "<< #{t('.prev')}", url_to_prev(@photo, @album), :rel => 'prefetch'
|
||||
|
|
||||
= link_to "#{t('.full_size')}", @photo.url
|
||||
|
|
||||
= link_to "#{t('.next')} >>", url_to_next(@photo, @album)
|
||||
= link_to "#{t('.next')} >>", url_to_next(@photo, @album), :rel => 'prefetch'
|
||||
|
||||
.right
|
||||
-if current_user.owns? @album
|
||||
|
|
|
|||
|
|
@ -115,7 +115,6 @@ header
|
|||
|
||||
a
|
||||
:color #CCC
|
||||
:text-shadow 0 1px 0 #444
|
||||
|
||||
&:hover
|
||||
:background none
|
||||
|
|
@ -130,6 +129,9 @@ header
|
|||
:color #fff
|
||||
|
||||
ul#user_menu
|
||||
a
|
||||
:text-shadow 0 1px 0 #444
|
||||
|
||||
:z-index 10
|
||||
:font
|
||||
:size 14px
|
||||
|
|
|
|||
Loading…
Reference in a new issue