This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
tuxbliki/app/views/albums/index.html.erb

13 lines
528 B
Plaintext
Raw Permalink Normal View History

2008-06-27 00:13:15 -04:00
<% throw_content :for_sidebar do -%>
<% if allowed_to?(:create_albums) -%><a href="<%= url(:new_album) -%>"><img src="/images/folder-new.png" alt="Create Album" /> Create An Album</a><br /><% end -%>
<% if allowed_to?(:upload_images) -%><a href="<%= url(:new_photo) -%>"><img src="/images/emblem-photos.png" /> Upload Image</a><br /><% end %>
2008-07-24 04:41:17 -04:00
<div id="tag_cloud">
2008-06-27 00:13:15 -04:00
<p>Popular Tags</p>
<%= tag_cloud @tags %>
</div>
<% end -%>
<%= partial 'albums', :albums => @albums %>
2008-06-27 00:13:15 -04:00
<%= partial 'shared/pagination_links' %>