Project

General

Profile

« Previous | Next » 

Revision feacea35

Added by Amos Benari about 11 years ago

  • ID feacea35f07f362d9e2c694a83516bbc902321a0

upgrade foreman to rails 3.2.13

This commit updates from rails 3.0.x to 3.2.x, main changes include:

  • Asset pipline support
  • cleanup of existing assets (javascript, css, images)

Users who uses foreman in production, make sure that you now compile
your assets, e.g

rake assets:precompile

Paired-with: Joseph Mitchell Magen <>
Paired-with: Ohad Levy <>

Signed-off-by: Ohad Levy <>

View differences:

app/views/puppetclasses/_classes.html.erb
<ul id="pc_<%= list.first %>" style="display: none;">
<% for klass in list.last.sort -%>
<% unless authorized_for(:host_editing, :edit_classes) -%>
<li data-original-title="Not authorized to edit classes" rel="twipsy" style='colour:black;'><%= h klass.name %></li>
<li data-original-title="Not authorized to edit classes" rel="twipsy"><%= h klass.name %></li>
<% else -%>
<% style = selected_puppet_classes.include?(klass) ? "hide" : "#{cycle('even', 'odd')}" %>
<% style = selected_puppet_classes.include?(klass) ? "hide" : "" %>
<%= content_tag_for :li, klass, :class=> style do %>
<%= link_to_add_puppetclass(klass, @host, type) %>
<% end -%>

Also available in: Unified diff