<%
first_video = contents[0]
first_video_arr = Array.new
first_video_arr.push(first_video)
other_videos = contents - first_video_arr %>
<% if first_video.display_to?(user) %>
<%= link_to first_video.view_url do %>

<% end %>
<%= first_video.title %>
<%= _("by") %> <%= first_video.author_name %> <%= _("updated at") %> <%= time_ago_in_words(first_video.updated_at) %>
<% end %>
<% other_videos.each do |content| %>
<% if content.display_to?(user) %>
<%= link_to content.view_url do %>

<% end %>
<%= _("by") %> <%= content.author_name %> <%= _("updated at") %> <%= time_ago_in_words(content.updated_at) %>
<%= content.title %>
<% end %>
<% end %>
<%= pagination_links contents, :param_name => 'npage', :page_links => true %>