mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
13 lines
485 B
Text
13 lines
485 B
Text
<h5 class="text-center"><%= t("projects.index.activity_tab") %></h5>
|
|
<hr>
|
|
<ul class="no-style double-line content-activities">
|
|
<% if @activities.size == 0 then %>
|
|
<li><em><%= t 'projects.index.no_activities' %></em></li>
|
|
<% else %>
|
|
<% @activities.each do |activity| %>
|
|
<li><span class="text-muted"><%= l activity.created_at, format: :full %></span>
|
|
<br><span><%= activity_truncate( activity.message, 30 ) %></span>
|
|
</li>
|
|
<% end %>
|
|
<% end %>
|
|
</ul>
|