Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
Ensuring both CSS and JS render
Browse files Browse the repository at this point in the history
  • Loading branch information
danmunn committed May 24, 2012
1 parent 41bc66e commit cc5f55d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/views/issues/_history.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<% content_for :header_tags do%>
<%= stylesheet_link_tag('issue_history_tabs.css', :plugin => :redmine_issue_history_tabs) %>
<%end%>
<% reply_links = authorize_for('issues', 'edit') -%>
<% tabs = [
{:label => :label_history_tab_all, :name => 'history_all'},
Expand Down
1 change: 0 additions & 1 deletion lib/issue_tabs_listener.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ class IssueTabsViewListener < Redmine::Hook::ViewListener
# Adds javascript
def view_layouts_base_html_head(context)
javascript_include_tag('issue-history-tabs.js', :plugin => :redmine_issue_history_tabs)
stylesheet_link_tag('issue_history_tabs.css', :plugin => :redmine_issue_history_tabs)
end

end

0 comments on commit cc5f55d

Please sign in to comment.