<%= button(:back, _('Go back to %s') % @page.parent.short_title, @page.parent.url) %>
<% end %>
<%= render :partial => 'article_toolbar' %>
<% if @page.display_hits? || @page.license.present? %>
<% if @page.display_hits? %>
<% end %>
<% if NOOSFERO_CONF['addthis_enabled'] %>
<%= render :partial => 'addthis' %>
<% end %>
<% cache(@page.cache_key(params, user, language)) do %>
<%= n_('Viewed one time', 'Viewed %{num} times', @page.hits) % { :num => @page.hits } %>
<% end %>
<% if @page.license.present? %>
<%= _('Licensed under %s') % (@page.license.url.present? ? link_to(@page.license.name, @page.license.url, :target => '_blank') : @page.license.name) %>
<% end %>
">
<% options = @page.image? ? {:gallery_view => true} : {} %>
<%= article_to_html(@page, options) %>
<% end %>
<% if ! @page.categories.empty? %>
> <%= display_number_of_comments(@comments_count) %>
<% end %> <% if @comments.present? && @comments.count > 1 %> <%= link_to(_('Post a comment'), '#', :class => 'display-comment-form', :id => 'top-post-comment-button', :onclick => "jQuery('#page-comment-form .display-comment-form').first().click();") if @page.accept_comments? %> <%= hidden_field_tag("page_url", url_for(:controller=>'content_viewer', :action=>'view_page', :profile=>profile.identifier, :page => @page.explode_path)) %> <%= javascript_include_tag "comment_order.js" %><% if @comments.present? %> <%= render :partial => 'comment/comment', :collection => @comments %> <%= pagination_links @comments, :param_name => 'comment_page' %> <% end %>
<% if @page.accept_comments? %>