This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
2008-07-23 07:08:48 -04:00
|
|
|
<div class="entry" id="page-<%= page.id %>">
|
|
|
|
|
2008-06-27 00:13:15 -04:00
|
|
|
<h2 class="entry-title">
|
|
|
|
<%= show_page_link(page) %>
|
|
|
|
<span class='comment_count'><%= "#{page.comments.size} comments" unless page.comments.empty? %></span>
|
|
|
|
</h2>
|
2008-07-23 07:08:48 -04:00
|
|
|
|
|
|
|
<div class="entry-author">
|
|
|
|
Posted by <span class="fn"><%= page.author.name rescue 'AUTHOR' -%></span> <abbr class="published" title="<%= page.created_at %>"><%= time_lost_in_words page.created_at %> ago</abbr><% unless page.department.to_s.empty? -%> in the <span class="dept"><%= page.department -%></span> department<% end -%>.
|
2008-06-27 00:13:15 -04:00
|
|
|
</div>
|
2008-07-23 07:08:48 -04:00
|
|
|
|
2008-06-27 00:13:15 -04:00
|
|
|
<div class="entry-content">
|
|
|
|
<%= show_page_description(page) %>
|
|
|
|
</div>
|
|
|
|
|
2008-07-23 07:08:48 -04:00
|
|
|
<% unless page.tags.empty? -%>
|
|
|
|
<div class="entry-tags">
|
|
|
|
Tagged: <%= page.tags.collect { |t| "<a href='#{url(:tag, :id => t.name)}' title='#{t.name}'>#{t.name}</a>" }.join(' ') -%>
|
|
|
|
</div>
|
|
|
|
<% end -%>
|
2008-06-27 00:13:15 -04:00
|
|
|
</div>
|