ref: master
app/views/content_viewer/_publishing_info.html.erb
<%= show_time(@page.published_at) %> <% unless @no_comments %> <%= (" - %s").html_safe % link_to_comments(@page) %> <% end %> | <% if @page.event? %> <% if @page.person_followers.size > 0 %> <%= _("%s will attend this event.") % [ pluralize(@page.person_followers.size, _("person"))]%> <% else %> <%= _("No one attending this event yet.") %> <% end %> <% else %> <% if @page.person_followers.size > 0 %> <%= _("%s following this article.") % [ pluralize(@page.person_followers.size, _("person"))]%> <% else %> <%= _("No one following this article yet.") %> <% end %> <% end %> <% if @page.display_hits? || @page.license.present? %><% if @page.display_hits? %><% end %><%= n_('Viewed one time %{desc}', 'Viewed %{num} times %{desc}', @page.hits) % { :num => @page.hits, :desc => @page.archived? ? ''+_('(Not countable anymore)')+'' : '' } %><% end %> <% if @page.license.present? %><%= _('Licensed under %s').html_safe % (@page.license.url.present? ? link_to(@page.license.name, @page.license.url, :target => '_blank') : @page.license.name) %><% end %>