diff --git a/plugins/pairwise/lib/pairwise_plugin/helpers/viewer_helper.rb b/plugins/pairwise/lib/pairwise_plugin/helpers/viewer_helper.rb index 00414b7..4ec1ba3 100644 --- a/plugins/pairwise/lib/pairwise_plugin/helpers/viewer_helper.rb +++ b/plugins/pairwise/lib/pairwise_plugin/helpers/viewer_helper.rb @@ -1,10 +1,5 @@ module PairwisePlugin::Helpers::ViewerHelper - def pairwise_plugin_stylesheet - plugin_style_sheet_path = PairwisePlugin.public_path('style.css') - stylesheet_link_tag plugin_style_sheet_path, :cache => "cache/plugins-#{Digest::MD5.hexdigest plugin_style_sheet_path.to_s}" - end - def choose_link(direction, pairwise_content, question, prompt, embeded = false, source = nil, appearance_id = nil) link_target = { :controller => 'pairwise_plugin_profile', :profile => pairwise_content.profile.identifier, diff --git a/plugins/pairwise/views/content_viewer/prompt.html.erb b/plugins/pairwise/views/content_viewer/prompt.html.erb index 514ec6e..77c929e 100644 --- a/plugins/pairwise/views/content_viewer/prompt.html.erb +++ b/plugins/pairwise/views/content_viewer/prompt.html.erb @@ -1,7 +1,5 @@ <% extend PairwisePlugin::Helpers::ViewerHelper %> -<%= pairwise_plugin_stylesheet %> - <% if embeded %> <%= javascript_include_tag :defaults, 'jquery-latest.js', 'jquery.noconflict.js', 'jquery.cycle.all.min.js', 'thickbox.js', 'lightbox', 'colorbox', diff --git a/plugins/pairwise/views/pairwise_plugin_profile/result.html.erb b/plugins/pairwise/views/pairwise_plugin_profile/result.html.erb index 25b14f2..baedff4 100644 --- a/plugins/pairwise/views/pairwise_plugin_profile/result.html.erb +++ b/plugins/pairwise/views/pairwise_plugin_profile/result.html.erb @@ -1,7 +1,5 @@ <% extend PairwisePlugin::Helpers::ViewerHelper %> -<%= pairwise_plugin_stylesheet %> -

<%= @page.name %>

<%= render :partial => "content_viewer/result", :locals => { diff --git a/plugins/pairwise/views/pairwise_plugin_suggestions/index.html.erb b/plugins/pairwise/views/pairwise_plugin_suggestions/index.html.erb index 483778e..e17c523 100644 --- a/plugins/pairwise/views/pairwise_plugin_suggestions/index.html.erb +++ b/plugins/pairwise/views/pairwise_plugin_suggestions/index.html.erb @@ -1,8 +1,6 @@ <% extend PairwisePlugin::Helpers::ViewerHelper %> <% extend PairwisePlugin::Helpers::SuggestionsHelper %> -<%= pairwise_plugin_stylesheet %> -

<%= _("Pairwise Question") %>

<%= _("Question text" ) %>:

<%= @pairwise_content.name %>
-- libgit2 0.21.2