Sha256: f7704a1cb9bf28fac52340355b2e423e0e38d8b39c13fae9b42aef0261b98ef2
Contents?: true
Size: 869 Bytes
Versions: 3
Compression:
Stored size: 869 Bytes
Contents
#!/usr/bin/env ruby # View::User::ODDBDatDownload -- oddb -- 18.08.2003 -- mhuggler@ywesee.com require 'view/publictemplate' require 'view/user/export' require 'htmlgrid/link' require 'plugin/oddbdat_export' module ODDB module View module User class OddbDatDownloadInnerComposite < HtmlGrid::Composite include View::User::Export COMPONENTS = { [0,0] => :oddbdat_download_tar_gz, [0,1] => :oddbdat_download_zip, [0,2] => :s31x_tar_gz, [0,3] => :s31x_zip, } CSS_MAP = { [0,0,1,4] => 'list', } EXPORT_FILE = 'oddbdat' def oddbdat_download_tar_gz(model, session) link_with_filesize("oddbdat.tar.gz") end def oddbdat_download_zip(model, session) link_with_filesize("oddbdat.zip") end def s31x_tar_gz(model, session) link_with_filesize("s31x.gz") end def s31x_zip(model, session) link_with_filesize("s31x.zip") end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oddb.org-1.0.2 | src/view/user/oddbdatdownload.rb |
oddb.org-1.0.1 | src/view/user/oddbdatdownload.rb |
oddb.org-1.0.0 | src/view/user/oddbdatdownload.rb |