This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
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 -%>
|
|
|
|
|
2008-07-11 01:19:42 -04:00
|
|
|
<%= partial 'albums', :albums => @albums %>
|
2008-06-27 00:13:15 -04:00
|
|
|
|
2008-07-11 01:19:42 -04:00
|
|
|
<%= partial 'shared/pagination_links' %>
|