Mercurial > hg > soundsoftware-site
changeset 1137:66b9ab6cf9d7 redmine-2.2-integration
We don't use ZeroClipboard, just scrub this stuff (image_path with 2 args doesn't appear to work any more)
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 10 Jan 2013 11:11:15 +0000 |
parents | 51d7f3e06556 |
children | 9e8213f2dfb3 |
files | plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.html.erb |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.html.erb Thu Jan 10 11:01:47 2013 +0000 +++ b/plugins/redmine_checkout/app/views/redmine_checkout_hooks/_view_repositories_show_contextual.html.erb Thu Jan 10 11:11:15 2013 +0000 @@ -12,11 +12,6 @@ <% end -%> </ul> <%= text_field_tag :checkout_url, h(default_protocol.full_command(checkout_path)), :readonly => true %> - <%- if Setting.checkout_use_zero_clipboard? %> - <div id="clipboard_container" title="<%= l(:label_copy_to_clipboard) %>" style="display: none;"> - <div id="clipboard_button"><%= image_tag 'paste.png', :plugin => 'redmine_checkout' %></div> - </div> - <% end -%> <p> <% if User.current.logged? %> @@ -33,8 +28,8 @@ <% javascript_tag do %> var checkout_access = $H({<%= protocols.inject([]){|r,p| r << "'checkout_protocol_#{p.protocol.to_s.underscore}': '#{l(p.access_label(User.current))}'"}.join(', ') %>}); var checkout_commands = $H({<%= protocols.inject([]){|r,p| r << "'checkout_protocol_#{p.protocol.to_s.underscore}': '#{escape_javascript(p.full_command(checkout_path))}'"}.join(', ') %>}); - <%- if Setting.checkout_use_zero_clipboard? %>ZeroClipboard.setMoviePath( '<%= image_path('ZeroClipboard.swf', :plugin => 'redmine_checkout') %>' );<% end %> <% end %> + </div> <% end%> <% if repository.is_external? %> @@ -48,5 +43,4 @@ <% content_for :header_tags do %> <%= stylesheet_link_tag 'checkout', :plugin => 'redmine_checkout' %> <%= javascript_include_tag 'checkout', :plugin => 'redmine_checkout' %> - <%= (javascript_include_tag 'ZeroClipboard', :plugin => 'redmine_checkout') if Setting.checkout_use_zero_clipboard? %> <% end %>