<% # AddThis Button if block_given? and File.exists?( RAILS_ROOT + '/config/web2.0.yml') opts = YAML.load_file( RAILS_ROOT + '/config/web2.0.yml' ) if opts['addthis'] opts = opts['addthis'] %>
<% end; end %>
<%= article_title(@page, :no_link => true) %> <% if logged_in? && current_user.person.has_permission?('post_content', profile) %> <% end %>
<% if !@page.tags.empty? %>
<%= _("This article's tags:") %> <%= @page.tags.map { |t| link_to(t, :controller => 'profile', :profile => @profile.identifier, :action => 'tag', :id => t.name ) }.join("\n") %>
<% end %> <% if @page.display_hits? %>
<%= n_('Viewed one time', 'Viewed %{num} times', @page.hits) % { :num => @page.hits } %>
<% end %> <% if @page.parent && !@page.parent.path.blank? %>
<%= link_to _('Go back'), @page.parent.url %>
<% end %> <% if profile.enterprise? and !profile.enabled? and !profile.blocks.select {|b| b.class == DisabledEnterpriseMessageBlock}.any? %>
<%= environment.message_for_disabled_enterprise %>
<% end %> <% cache(@page.cache_key(params)) do %>
"> <%= article_to_html(@page) %>
<% end %> <% if ! @page.categories.empty? %>

<%= _('Categories') %>

<%= @page.categories.map {|item| link_to_category(item, false) }.join(", ") %>
<% end %> <% if ! @page.source.nil? and ! @page.source.empty?%>
<%= _('Source: %s') % link_to(@page.source, @page.source) %>
<% end %>
<% if @page.accept_comments? %>

> <%= number_of_comments(@page) %>

<%= render :partial => 'comment', :collection => @comments %> <%= render :partial => 'comment_form' %> <% end %>