%table{ :border => 1, :cellpadding => "5", :width => "100%"} %tr %td Edition: #{link_to @current_setting.nice_edition, nil, :title => "Supports mods for: #{@current_setting.found_types.map{|e| e.label}.join(", ")}" } - if @status.size > 0 %br = @status.join("
") %br Last sync #{@system_setting.synchronized_at ? time_ago_in_words(@system_setting.synchronized_at) + " ago" : "never"}. Gamespy #{@system_setting.gamespied_at ? time_ago_in_words(@system_setting.gamespied_at) + " ago" : "never"}. %br - unless params[:commit] == "none" %br #{params[:commit]} - if @msg.size > 0 %br %div{:class => "green"} %ul - @msg.each do |m| %li= m - if @error.size > 0 %br %div{:class => "red"} %ul - @error.each do |e| %li= e %table{ :border => 1, :cellpadding => "5", :width => "100%"} %tr %td - if (@check.size + @skip.size + @install.size + @disabled.size + @special.size) > 0 - if @check.size > 0 %b To be checked %br = render :partial => "check", :locals => {:mods => @check} %br - if @skip.size > 0 %b To be skipped %br = render :partial => "check", :locals => {:mods => @skip} %br - if @install.size > 0 %b Not installed %br = render :partial => "check", :locals => {:mods => @install} %br - if @special.size > 0 %b Special (Hover over modname to see why) %br = render :partial => "check", :locals => {:mods => @special} %br - if @disabled.size > 0 %b Disabled %br = render :partial => "check", :locals => {:mods => @disabled} %br