Skip to content
Extraits de code Groupes Projets
Valider 5ca35706 rédigé par danielvincent's avatar danielvincent
Parcourir les fichiers

added prefetch rels to prev/next links in photo show. fixed shadow bug in header

parent 2735cb02
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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
......
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