mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 14:01:48 +00:00
18 lines
410 B
Text
18 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 %>
|