Commit 3e8cadeabaea0fe81d6da1de1457cb893f450b1b
1 parent
f9f8aa16
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
pairwise_plugin: remove duplicated inclusion of stylesheet
Showing
4 changed files
with
0 additions
and
11 deletions
Show diff stats
plugins/pairwise/lib/pairwise_plugin/helpers/viewer_helper.rb
1 | 1 | module PairwisePlugin::Helpers::ViewerHelper |
2 | 2 | |
3 | - def pairwise_plugin_stylesheet | |
4 | - plugin_style_sheet_path = PairwisePlugin.public_path('style.css') | |
5 | - stylesheet_link_tag plugin_style_sheet_path, :cache => "cache/plugins-#{Digest::MD5.hexdigest plugin_style_sheet_path.to_s}" | |
6 | - end | |
7 | - | |
8 | 3 | def choose_link(direction, pairwise_content, question, prompt, embeded = false, source = nil, appearance_id = nil) |
9 | 4 | link_target = { :controller => 'pairwise_plugin_profile', |
10 | 5 | :profile => pairwise_content.profile.identifier, | ... | ... |
plugins/pairwise/views/content_viewer/prompt.html.erb
plugins/pairwise/views/pairwise_plugin_profile/result.html.erb
plugins/pairwise/views/pairwise_plugin_suggestions/index.html.erb
1 | 1 | <% extend PairwisePlugin::Helpers::ViewerHelper %> |
2 | 2 | <% extend PairwisePlugin::Helpers::SuggestionsHelper %> |
3 | 3 | |
4 | -<%= pairwise_plugin_stylesheet %> | |
5 | - | |
6 | 4 | <h1><%= _("Pairwise Question") %></h1> |
7 | 5 | <h4><%= _("Question text" ) %>: </h4><span><%= @pairwise_content.name %></span> |
8 | 6 | <div class="result_label"> | ... | ... |