2011-10-14 07:35:25 +01:00
|
|
|
.block
|
|
|
|
.content
|
|
|
|
%h2.title
|
|
|
|
= t("layout.downloads.title")
|
2011-11-01 16:06:25 +00:00
|
|
|
.inner
|
|
|
|
%h3= t("layout.downloads.message")
|
2011-10-14 07:35:25 +01:00
|
|
|
.inner
|
|
|
|
%table.table
|
|
|
|
%tr
|
|
|
|
%th.first= t("activerecord.attributes.download.name")
|
|
|
|
%th= t("activerecord.attributes.download.version")
|
|
|
|
%th= t("activerecord.attributes.download.distro")
|
|
|
|
%th= t("activerecord.attributes.download.platform")
|
|
|
|
%th.last= t("activerecord.attributes.download.counter")
|
|
|
|
- @downloads.each do |download|
|
|
|
|
%tr{:class => cycle("odd", "even")}
|
|
|
|
%td
|
|
|
|
= download.name
|
|
|
|
%td
|
|
|
|
= download.version
|
|
|
|
%td
|
|
|
|
= download.distro
|
|
|
|
%td
|
|
|
|
= download.platform
|
|
|
|
%td.last
|
|
|
|
= download.counter
|
|
|
|
.actions-bar.wat-cf
|
|
|
|
.actions
|
|
|
|
= will_paginate @downloads
|
|
|
|
|