% cache_unless(@preview_mode, "/v4/#{work.cache_key}-#{Work.work_blurb_version(work.id)}-meta-#{hide_warnings?(work) ? 'nowarn' : 'showwarn'}-#{hide_freeform?(work) ? 'nofreeform' : 'showfreeform'}", skip_digest: true) do %>
<%= ts("Work Header") %>
<% tag_group = work.tag_groups
Tag::VISIBLE.each do |type| %>
<% tags = tag_group[type] %>
<% unless tags.blank? %>
-
<% if type == "ArchiveWarning" %>
<%= link_to( tags.size == 1 ? type.constantize::NAME : type.constantize::NAME.pluralize, tos_faq_path(:anchor => "tags") ) %>:
<% elsif type.constantize::NAME == ArchiveConfig.FREEFORM_CATEGORY_NAME %>
<%= type.constantize::NAME %>:
<% else %>
<%= tags.size == 1 ? type.constantize::NAME : type.constantize::NAME.pluralize %>:
<% end %>
-
<% if (type == "ArchiveWarning" && hide_warnings?(work)) || (type == "Freeform" && hide_freeform?(work)) %>
<%= show_hidden_tag_link_list_item(work, type, { suppress_toggle_class: true }) %>
<% else %>
<%= tag_link_list(tags, link_to_works=true) %>
<% end %>
<% end %>
<% end %>
<% unless @work.language.blank? %>
-
<%= ts("Language:") %>
-
<%= @work.language.name %>
<% end %>
<% unless @work.serial_works.blank? %>
-
<%= ts("Series:") %>
-
<%= show_series_data(@work) %>
<% end %>
<% unless @work.approved_collections.empty? %>
-
<%= ts('Collections:') %>
-
<%= show_collections_data(@work.approved_collections) %>
<% end %>
- <%= ts("Stats:") %>
-
<% end %>
<%= work_meta_list(@work, @chapter) %>
<% if policy(:user_creation).show_original_creators? %>
<% if @work.original_creators.any? %>
<% original_creators = @work.original_creators.map(&:display) %>
-
<%= t('.original_creators', count: original_creators.count) %>
-
<%= original_creators.join(", ") %>
<% end %>
<% end %>
<% if policy(:user_creation).show_ip_address? %>
-
<%= ts('IP Address:') %>
-
<% if @work.ip_address.nil? %>
<%= ts('No address recorded') %>
<% else %>
<%= @work.ip_address %>
<% end %>
<% end %>
<% if logged_in_as_admin? %>
-
<%= ts('Akismet Reported As Spam:') %>
-
<% if !@work.spam_checked? %>
<%= ts('No result recorded') %>
<% else %>
<%= @work.spam? %>
<% end %>
-
<%= ts("Over Tag Limit:") %>
-
<%= @work.user_defined_tags_count > ArchiveConfig.USER_DEFINED_TAGS_MAX ? ts("Yes") : ts("No") %>
<% if @work.gifts.are_rejected.exists? %>
-
<%= ts('Refused As Gift:') %>
-
<%= @work.gifts.are_rejected.map { |g| g.recipient }.join(", ") %>
<% end %>
<% end %>