2016-07-28 22:41:10 +08:00
|
|
|
<h5 class="text-center"><%= t("experiments.canvas.popups.activities_tab") %></h5>
|
2016-02-12 23:52:43 +08:00
|
|
|
<hr>
|
|
|
|
<ul class="no-style double-line content-activities">
|
|
|
|
<% if @activities.size == 0 then %>
|
2016-07-28 22:41:10 +08:00
|
|
|
<li><em><%= t 'experiments.canvas.popups.no_activities' %></em></li>
|
2016-02-12 23:52:43 +08:00
|
|
|
<% else %>
|
|
|
|
<% @activities.each do |activity| %>
|
|
|
|
<li><span class="text-muted"><%=l activity.created_at, format: :full %></span>
|
2016-07-21 19:11:15 +08:00
|
|
|
<br><span><%= activity_truncate( activity.message ) %></span>
|
2016-02-12 23:52:43 +08:00
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<hr>
|
2016-07-28 22:41:10 +08:00
|
|
|
<li><%= link_to t("experiments.canvas.popups.more_activities"), activities_my_module_path(@my_module) %></li>
|
2016-02-12 23:52:43 +08:00
|
|
|
</ul>
|