2011-10-19 21:58:31 +01:00
|
|
|
.block
|
|
|
|
.secondary-navigation
|
|
|
|
%ul.wat-cf
|
|
|
|
%li.first= link_to t("layout.categories.list"), categories_path
|
|
|
|
%li.active= link_to t("layout.categories.platforms"), platforms_categories_path
|
|
|
|
.content
|
|
|
|
%h2.title= t("layout.platforms.list_header")
|
2011-11-01 20:53:25 +00:00
|
|
|
%br
|
2011-10-19 21:58:31 +01:00
|
|
|
.inner
|
2011-11-01 20:53:25 +00:00
|
|
|
%h3.title= t("layout.platforms.list_header_main")
|
2011-10-19 21:58:31 +01:00
|
|
|
%table.table
|
2011-11-01 20:53:25 +00:00
|
|
|
- @main_platforms.each do |platform|
|
2011-10-19 21:58:31 +01:00
|
|
|
%tr{:class => cycle("odd", "even")}
|
|
|
|
%td= link_to platform.name, platform_categories_path(platform)
|
2011-11-01 20:53:25 +00:00
|
|
|
%td.last= @main_platforms_count[platform.id].to_i
|
|
|
|
%br
|
|
|
|
.inner
|
|
|
|
%h3.title= t("layout.platforms.list_header_personal")
|
|
|
|
%table.table
|
|
|
|
- @personal_platforms.each do |platform|
|
|
|
|
%tr{:class => cycle("odd", "even")}
|
|
|
|
%td= link_to platform.name, platform_categories_path(platform)
|
2011-11-01 21:07:32 +00:00
|
|
|
%td.last= @personal_platforms_count[platform.id].to_i
|
2011-11-01 20:53:25 +00:00
|
|
|
%br
|
|
|
|
.inner
|
|
|
|
%h3.title= t("layout.platforms.list_header_all")
|
|
|
|
%table.table
|
|
|
|
- @all_platforms.each do |platform|
|
|
|
|
%tr{:class => cycle("odd", "even")}
|
|
|
|
%td= link_to platform.name, platform_categories_path(platform)
|
|
|
|
%td.last= @all_platforms_count[platform.id].to_i
|