ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

custom-project-css.patch

Fabio Torchetti, 2012-05-22 01:48 pm

Download (913 Bytes)

 
chiliproject/app/views/layouts//base.rhtml 2012-05-22 15:46:54.000000000 +0200
10 10
<%= stylesheet_link_tag 'reset', :media => 'all' %>
11 11
<%= stylesheet_link_tag 'smoothness/jquery-ui', :media => 'all' %>
12 12
<%= stylesheet_link_tag 'application', :media => 'all' %>
13
<% if @project && FileTest.file?( Rails.root.join('public','stylesheets', 'project', @project.identifier, 'project.css') ) %>
14
<%= stylesheet_link_tag 'project/' + @project.identifier + '/project.css', :media => 'all' %>
15
<% end %>
13 16
<%= stylesheet_link_tag 'print', :media => 'print' %>
14 17
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
15 18
<!--[if lte IE 6]><%= stylesheet_link_tag 'ie6', :media => 'all' %><![endif]-->