18 lines
1011 B
Plaintext
18 lines
1011 B
Plaintext
<li class="rgalbum" data-image-id="<%= image.id.to_s %>">
|
|
<a href="<%= admin_image_path(image.id) %>">
|
|
<img src="<%= image.file.thumb %>">
|
|
</a>
|
|
<% if can_edit_or_delete?(@album) %>
|
|
<span class="photo_edit" style="position: absolute;top: 0;background: #fff;padding: 5px;">
|
|
<a style="height:auto;color: #000;width: auto;" href="/<%= I18n.locale.to_s%>/admin/images/<%=image.id.to_s %>/edit">
|
|
<i class="<%= (@album.cover.to_s == image.id.to_s)? "editimage" : "editimage-2" %>"></i>edit</a></span>
|
|
<ul class="photo-action clearfix">
|
|
<li class="photo_cover"><i class="<%= (@album.cover.to_s == image.id.to_s)? "icons-star" : "icons-star-2" %>"></i></li>
|
|
<li class="phtot_depiction"><a href="#view-photo-depiction" class="open" for="description"><i class="icon-comment-alt"></i></a></li>
|
|
<li class="phtot_tag"><a href="#view-photo-tags" class="open" for="tags"><i class="icons-tag"></i></a></li>
|
|
</ul>
|
|
<% end %>
|
|
<div class="check">
|
|
<input type="checkbox" class="checkbox">
|
|
</div>
|
|
</li> |