bug page miniatures
This commit is contained in:
parent
a353d767b6
commit
3fd152a582
@ -1,8 +1,8 @@
|
||||
#small_index
|
||||
-@portfolio.images.each do |img|
|
||||
=link_to image_tag(img.photo.thumb.url, :style => "height:100px;float:left;padding:5px;"), portfolio_path(:slug => @portfolio.slug, :format => "js", :page => (@portfolio.images.after(img.shoot_at).count+1)), :onclick => '$("#small_index").toggleClass("active");' ,:remote => true
|
||||
|
||||
=link_to image_tag(img.photo.thumb.url, :style => "height:100px;float:left;padding:5px;"), portfolio_path(:slug => @portfolio.slug, :format => "js", :page => img.page(@portfolio), :onclick => '$("#small_index").toggleClass("active");' ,:remote => true
|
||||
|
||||
portfolio_path(:id => img.portfolios.first.slug, :page => img.page(img.portfolios.first))
|
||||
.portfolio
|
||||
-if 1==2
|
||||
.intro
|
||||
|
Loading…
x
Reference in New Issue
Block a user