OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/views/homescreen/blocks/_news.html.erb

18 lines
568 B

<%= render 'homescreen/blocks/header', icon: 'news', title: t(:label_news_latest) %>
<% unless @news.empty? %>
<ul class="widget-box--arrow-links">
<% @news.each do |news| %>
<li class="-widget-box--arrow-multiline">
<div>
<%= avatar(news.author, {class: 'avatar-mini'}) %>
<%= link_to_project(news.project) + ': ' %>
<%= link_to h(news.title), news_path(news) %>
<br/>
<span class="additional-information"><%= authoring news.created_on, news.author %></span>
</div>
</li>
<% end %>
</ul>
<% end %>