Removed manual js and css includes, replaced with one master incluse to backlogs.css and backlogs.js

n backlogs header partial
pull/6827/head
Sebastian Schuster 12 years ago
parent bad5554fcc
commit c2b3e7cde9
  1. 3
      app/views/rb_burndown_charts/_burndown.html.erb
  2. 13
      app/views/rb_master_backlogs/index.html.erb
  3. 12
      app/views/rb_taskboards/show.html.erb
  4. 13
      app/views/shared/_backlogs_header.html.erb

@ -1,7 +1,4 @@
<%= stylesheet_link_tag 'backlogs/jqplot.css', :plugin => 'chiliproject_backlogs' %>
<!--[if IE]><%= javascript_include_tag 'backlogs/lib/jquery.flot/excanvas.js', :plugin => 'chiliproject_backlogs' %><![endif]--> <!--[if IE]><%= javascript_include_tag 'backlogs/lib/jquery.flot/excanvas.js', :plugin => 'chiliproject_backlogs' %><![endif]-->
<%= javascript_include_tag 'backlogs/lib/jquery.flot/jquery.flot.js', :plugin => 'chiliproject_backlogs' %>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
jQuery(function ($) { jQuery(function ($) {

@ -1,21 +1,8 @@
<% content_for :header_tags do %> <% content_for :header_tags do %>
<%= render :partial => 'shared/backlogs_header' %> <%= render :partial => 'shared/backlogs_header' %>
<%= javascript_include_tag 'backlogs/app/master_backlog',
'backlogs/app/backlog',
'backlogs/app/burndown',
'backlogs/app/model',
'backlogs/app/editable_inplace',
'backlogs/app/sprint',
'backlogs/app/issue',
'backlogs/app/story' %>
<%= javascript_include_tag url_for(:controller => '/rb_server_variables', <%= javascript_include_tag url_for(:controller => '/rb_server_variables',
:action => 'show', :action => 'show',
:project_id => @project) %> :project_id => @project) %>
<%= stylesheet_link_tag 'backlogs/jqplot.css' %>
<%= stylesheet_link_tag 'backlogs/master_backlog.css', :media => 'print,screen' %>
<%= stylesheet_link_tag 'backlogs/master_backlog_print.css', :media => 'print' %>
<% end %> <% end %>
<div class='contextual'></div> <div class='contextual'></div>

@ -1,21 +1,9 @@
<% content_for :header_tags do %> <% content_for :header_tags do %>
<%= render :partial => 'shared/backlogs_header' %> <%= render :partial => 'shared/backlogs_header' %>
<%= javascript_include_tag 'backlogs/app/show_main',
'backlogs/app/taskboard',
'backlogs/app/model',
'backlogs/app/issue',
'backlogs/app/task',
'backlogs/app/impediment',
'backlogs/app/burndown' %>
<%= javascript_include_tag url_for(:controller => 'rb_server_variables', <%= javascript_include_tag url_for(:controller => 'rb_server_variables',
:action => 'show', :action => 'show',
:project_id => @project, :project_id => @project,
:sprint_id => @sprint) %> :sprint_id => @sprint) %>
<%= stylesheet_link_tag 'backlogs/jqplot.css' %>
<%= stylesheet_link_tag 'backlogs/taskboard.css', :media => 'print,screen' %>
<%= stylesheet_link_tag 'backlogs/taskboard_print.css', :media => 'print' %>
<% end %> <% end %>
<div class="contextual"> <div class="contextual">

@ -1,11 +1,2 @@
<%= stylesheet_link_tag 'backlogs/global.css', :media => 'print,screen' %> <%= stylesheet_link_tag 'backlogs/backlogs.css' %>
<%= stylesheet_link_tag 'backlogs/global_print.css', :media => 'print' %> <%= javascript_include_tag 'backlogs/backlogs.js' %>
<%= javascript_include_tag 'backlogs/lib/jquery.jeditable.mini.js',
'backlogs/lib/jquery.cookie.js',
'backlogs/app/common.js' %>
<%= javascript_include_tag 'backlogs/lib/livepipe-ui/livepipe',
'backlogs/lib/livepipe-ui/window',
'backlogs/app/modal' %>
<%= stylesheet_link_tag 'backlogs/livepipe-ui/base' %>

Loading…
Cancel
Save