usability links

git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@107 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7
master
andrew 2008-02-01 05:37:45 +00:00
parent cc4c59c539
commit be2f2716e1
3 changed files with 5 additions and 0 deletions

View File

@ -1,2 +1,3 @@
module TagImagesHelper module TagImagesHelper
include GalleriesHelper
end end

View File

@ -6,4 +6,5 @@
<%= link_to "Download original", :action => 'download_original', :id => @image.id -%><br /> <%= link_to "Download original", :action => 'download_original', :id => @image.id -%><br />
<%= link_to 'Destroy', gallery_path(@image), :confirm => 'Are you sure?', :method => :delete %><br /> <%= link_to 'Destroy', gallery_path(@image), :confirm => 'Are you sure?', :method => :delete %><br />
<%= link_to 'Tag Image', :controller => :tag_images, :action => :show, :id => @image.id -%><br /> <%= link_to 'Tag Image', :controller => :tag_images, :action => :show, :id => @image.id -%><br />
<%= new_image_link -%><br />
<% end -%> <% end -%>

View File

@ -1,3 +1,5 @@
<%= javascript_include_tag 'control.modal.js' %>
<% content_for :stylesheet do -%> <% content_for :stylesheet do -%>
#image_block { #image_block {
z-index: 0; z-index: 0;
@ -107,4 +109,5 @@ before_closes['taggedContentDialog'] = function(){
<% content_for :sidebar do -%> <% content_for :sidebar do -%>
<%= link_to 'Image Details', gallery_path(@image) -%><br /> <%= link_to 'Image Details', gallery_path(@image) -%><br />
<%= new_image_link -%><br />
<% end -%> <% end -%>