Sha256: 05c9a60bb8eddc41cbe2f36b21a234b0e0ed04d56e1fb4971caeedd82b21836b
Contents?: true
Size: 1008 Bytes
Versions: 7
Compression:
Stored size: 1008 Bytes
Contents
%table{:width => "100%"} %thead %tr %th Mod %th Current %th Latest %th Info %th Changes %th Compatible? %tbody - mods.each do |mod| %tr %td{:width => "30%"} = link_to mod.name, "/mods/edit/#{mod.id}", {:title => "Size: #{mod.size}, Updated Version: #{mod.updated_version}. #{mod.categories.map{|e| e.name}.join(", ")}"} %td{:class => if mod.version_local == mod.version; "green"; else; "red"; end} = if mod.version_local.empty?; "none" else; mod.version_local; end %td= mod.version %td= link_to "Info", "http://updater.dev-heaven.net/mods/show/#{mod.id}", :target => "_blank" %td= link_to "Changes", "http://updater.dev-heaven.net/mods/changelog/#{mod.id}", :target => "_blank" %td{:class => mod.version_match?(@current_setting) ? "green" : "red"}= "#{mod.version_match?(@current_setting) ? "Yes" : "No"} #{link_to mod.class.short, "", {:title => mod.class.label}}"
Version data entries
7 entries across 7 versions & 1 rubygems