Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 335
- Log:
Gullery equivalent of Changeset #315 in Beast.
- Author:
- rool
- Date:
- Sat Mar 19 17:35:37 +0000 2011
- Size:
- 1091 Bytes
1 | @indent = 0 |
2 | li :id => "asset_#{asset.id}" do |
3 | if @logged_in |
4 | div.toolbar(:width => Asset.thumbnail_width) do |
5 | span.handle { "drag" } |
6 | span.rotate do |
7 | link_to(' ← ', assets_url(:action => 'rotate', :id => asset.id, :direction => 'ccw'), :onclick => "Element.show('loading')") |
8 | self << "rotate" |
9 | link_to(' → ', assets_url(:action => 'rotate', :id => asset.id, :direction => 'cw'), :onclick => "Element.show('loading')") |
10 | end |
11 | span.delete { link_to_remote " delete ×", :url => capture { assets_url(:action => 'destroy', :id => asset.id) }, :confirm => "Do you want to delete this photo?" } |
12 | end |
13 | end |
14 | link_to image_tag(asset.web_path(:thumb), :width => Asset.thumbnail_width, :height => Asset.thumbnail_height), image_path(asset.web_path), :rel => 'lightbox', :title => capture { textilight(asset.caption) } |
15 | render :partial => 'asset_caption', :locals => {:asset => asset} |
16 | if @logged_in |
17 | in_place_editor "asset_caption_#{asset.id}", :url => capture { assets_url(:action => 'update_caption', :id => asset.id) } |
18 | end |
19 | end |