From be2f2716e1049915b148d5d837a32c045a38736c Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 1 Feb 2008 05:37:45 +0000 Subject: [PATCH] usability links git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@107 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7 --- app/helpers/tag_images_helper.rb | 1 + app/views/galleries/show.rhtml | 1 + app/views/tag_images/show.rhtml | 3 +++ 3 files changed, 5 insertions(+) diff --git a/app/helpers/tag_images_helper.rb b/app/helpers/tag_images_helper.rb index 5c023de..214a2ef 100644 --- a/app/helpers/tag_images_helper.rb +++ b/app/helpers/tag_images_helper.rb @@ -1,2 +1,3 @@ module TagImagesHelper + include GalleriesHelper end diff --git a/app/views/galleries/show.rhtml b/app/views/galleries/show.rhtml index 3057b82..09b5429 100644 --- a/app/views/galleries/show.rhtml +++ b/app/views/galleries/show.rhtml @@ -6,4 +6,5 @@ <%= link_to "Download original", :action => 'download_original', :id => @image.id -%>
<%= link_to 'Destroy', gallery_path(@image), :confirm => 'Are you sure?', :method => :delete %>
<%= link_to 'Tag Image', :controller => :tag_images, :action => :show, :id => @image.id -%>
+ <%= new_image_link -%>
<% end -%> \ No newline at end of file diff --git a/app/views/tag_images/show.rhtml b/app/views/tag_images/show.rhtml index 7ff1c4e..60beb4a 100644 --- a/app/views/tag_images/show.rhtml +++ b/app/views/tag_images/show.rhtml @@ -1,3 +1,5 @@ +<%= javascript_include_tag 'control.modal.js' %> + <% content_for :stylesheet do -%> #image_block { z-index: 0; @@ -107,4 +109,5 @@ before_closes['taggedContentDialog'] = function(){ <% content_for :sidebar do -%> <%= link_to 'Image Details', gallery_path(@image) -%>
+ <%= new_image_link -%>
<% end -%> \ No newline at end of file