Sha256: 2b94075eeb2c2f6dd1781be2e628fd3446bbc55e6f25be28b9da431b6a1733c4
Contents?: true
Size: 1.05 KB
Versions: 3
Compression:
Stored size: 1.05 KB
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}.#{" Incl: #{mod.incl} " if mod.incl}#{" Excl: #{mod.excl} " if mod.excl}#{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://stats.six-updater.net/mods/show/#{mod.id}", :target => "_blank" %td= link_to "Changes", "http://stats.six-updater.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
3 entries across 3 versions & 1 rubygems