scinote-web/app/views/activities/_index.html.erb

14 lines
543 B
Text
Raw Normal View History

2016-02-12 23:52:43 +08:00
<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 %>
2016-07-21 19:11:15 +08:00
<% if @last_activity_id < 1 and @overflown %>
2016-02-12 23:52:43 +08:00
<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>