scinote-web/app/views/activities/_index.html.erb
2016-07-21 13:11:15 +02:00

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>