2011-05-13 05:07:59 -07:00
|
|
|
- title @item.name
|
2011-07-26 15:56:14 -07:00
|
|
|
- canonical_path @item
|
2011-05-20 16:29:04 -07:00
|
|
|
|
2024-01-21 04:40:25 -08:00
|
|
|
= render partial: "item_header",
|
2024-01-21 04:45:22 -08:00
|
|
|
locals: {item: @item, trades: @trades, current_subpage: "preview"}
|
2011-07-14 09:50:24 -07:00
|
|
|
|
2023-08-10 19:58:22 -07:00
|
|
|
#outfit-preview-root{'data-item-id': @item.id}
|
2011-05-20 17:23:37 -07:00
|
|
|
|
2023-08-02 12:10:38 -07:00
|
|
|
- unless @contributors_with_counts.empty?
|
|
|
|
#item-contributors
|
|
|
|
%header #{t '.contributors.header'}:
|
|
|
|
%ul
|
|
|
|
- @contributors_with_counts.each do |contributor, count|
|
|
|
|
%li= link_to(contributor.name, user_contributions_path(contributor)) + format_contribution_count(count)
|
|
|
|
%footer= t '.contributors.footer'
|
2012-10-24 20:16:01 -07:00
|
|
|
|
2012-12-30 11:15:55 -08:00
|
|
|
- content_for :javascripts do
|
2023-08-10 19:58:22 -07:00
|
|
|
= javascript_include_tag 'item-page', defer: true
|
2011-05-02 15:07:56 -07:00
|
|
|
|