<commit_before><%= content_for :product_page do %>

<!-- BEGIN PRODUCT -->
<div id="show_product"
  prefix="
    rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
    dct:http:/purl.org/dc/terms/
    foaf:http://xmlns.xom/foaf/0.1/
    gr:http://purl.org/goodrelations/v1#
    xsd: http://www.w3.org/2001/XMLSchema#
    essglobal: http://purl.org/essglobal/vocab/v1.0/
  "
  typeof="essglobal:ProductOrService">

  <div id="product-category">
    <%= render :partial => 'manage_products/display_category' %>
  </div>

  <div id='product-name'>
    <%= render :partial => 'manage_products/display_name' %>
  </div>
  
  <%# TODO: Make an option to show or not to show the SSE initiative of the product! %>
  <div id='product-owner'>
    <%= _('Offered by') %>: <span id='product-owner-name'><a target="_parent" href="#I NEED THE URL!"><%= @product.enterprise.short_name %></a></span>
  </div>

  <% if NOOSFERO_CONF['addthis_enabled'] %>
    <%= render :partial => 'content_viewer/addthis' %>
  <% end %>

  <div id='product-details'>
    <div id='product-image' class="zoomable-image">
      <%= render :partial => 'manage_products/display_image' %>
    </div>
    <div id='product-info'>
      <%= render :partial => 'manage_products/display_info' %><commit_msg>Fix the show_supplier condition on the product page<commit_after><%= content_for :product_page do %>

<!-- BEGIN PRODUCT -->
<div id="show_product"
  prefix="
    rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
    dct:http:/purl.org/dc/terms/
    foaf:http://xmlns.xom/foaf/0.1/
    gr:http://purl.org/goodrelations/v1#
    xsd: http://www.w3.org/2001/XMLSchema#
    essglobal: http://purl.org/essglobal/vocab/v1.0/
  "
  typeof="essglobal:ProductOrService">

  <div id="product-category">
    <%= render :partial => 'manage_products/display_category' %>
  </div>

  <div id='product-name'>
    <%= render :partial => 'manage_products/display_name' %>
  </div>

  <% if show_supplier %>  
    <div id='product-owner'>
      <%= _('Offered by') %>: <span id='product-owner-name'><%= link_to @product.profile.short_name, @product.profile.url %></span>
    </div>
  <% end %>

  <% if NOOSFERO_CONF['addthis_enabled'] %>
    <%= render :partial => 'content_viewer/addthis' %>
  <% end %>

  <div id='product-details'>
    <div id='product-image' class="zoomable-image">
      <%= render :partial => 'manage_products/display_image' %>
    </div>
    <div id='product-info'>
      <%= render :partial => 'manage_products/display_info' %>
{'fraction_non_alphanumeric': 0.19791666666666666, 'fraction_numerical': 0.015224358974358974, 'mean_word_length': 3.5648994515539307, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 0, '>': 66, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4809402', 'n_tokens_mistral': 983, 'n_tokens_neox': 897, 'n_words': 153}