mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 05:05:55 +08:00
b64e200b91
Also refactor localization files concerning canvas.
15 lines
623 B
Text
15 lines
623 B
Text
<h5 class="text-center"><%= t("experiments.canvas.popups.activities_tab") %></h5>
|
|
<hr>
|
|
<ul class="no-style double-line content-activities">
|
|
<% if @activities.size == 0 then %>
|
|
<li><em><%= t 'experiments.canvas.popups.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 ) %></span>
|
|
</li>
|
|
<% end %>
|
|
<% end %>
|
|
<hr>
|
|
<li><%= link_to t("experiments.canvas.popups.more_activities"), activities_my_module_path(@my_module) %></li>
|
|
</ul>
|