ensl.org/app/views/widgets/_interviews.html.erb

13 lines
274 B
Text
Raw Permalink Normal View History

<p class="bold">
Newest interviews
</p>
<ul>
<% Article.nodrafts.interviews.recent.each do |article| %>
<li class="<%= 'bold' if cuser and !article.read_by? cuser %>">
<%= namelink article %>
</li>
<% end %>
</ul>
<%= link_to "More..", articles_path %>