mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 20:41:01 +00:00
17 lines
410 B
Text
17 lines
410 B
Text
<div class="header">Latest articles</div>
|
|
<div class="body">
|
|
<div class="content">
|
|
<h3>
|
|
Latest articles
|
|
</h3>
|
|
<ul>
|
|
<% Article.articles.nodrafts.nospecial.recent.each do |article| %>
|
|
<li class="<%= 'bold' if cuser and !article.read_by? cuser %>">
|
|
<%= namelink article %>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<%= link_to "More..", articles_path %>
|