mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 21:56:12 +08:00
13 lines
543 B
Text
13 lines
543 B
Text
<ul class="no-style double-line content-activities">
|
|
<% if @activities.length == 0 then %>
|
|
<li><em><%= t'activities.index.no_activities' %></em></li>
|
|
<% else %>
|
|
<%= render 'activities/list.html.erb', activities: @activities, hide_today: hide_today, day: @day %>
|
|
<% end %>
|
|
<% if @last_activity_id < 1 and @overflown %>
|
|
<li class="text-center">
|
|
<a class="btn btn-default btn-more-activities" href="<%= more_activities_url %>" data-remote="true">
|
|
<%= t'activities.index.more_activities' %></a>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|