<% if @requests.blank? %>
    <div class="no-merge-content">没有可显示的请求</div>
<% else %>
    <% @requests.each do |request| %>
        <li>
          <% request %>
          <%=link_to request.title, project_pull_request_path(request.id, :project_id => @project.id), :class => "linkGrey3 fb fl hidden", :style => "width:100%;"%>
          <!--<a href="javascript:void(0);" class="fr fontGrey2 fb"><img src="/images/comments.png" class="mr5" width="15" />0</a><span class="fr mr15 fb fontGrey2">关闭</span>-->
          <div class="cl mb5"></div>
          <span class="fontGrey2">由 <%= link_to request.author.try(:username), user_path(get_user_by_login_and(request.author.try(:username))), :class => "link-blue" %> 创建于<%= time_tag(request.created_at) %></span>
          <span class="fr fontGrey2"><%= time_tag(request.updated_at) %>更新</span>
          <div class="cl"></div>
        </li>
    <% end %>

    <div style="text-align:center;">
      <div class="pages" style="width:auto; display:inline-block;">
        <ul  id="homework_pository_ref_pages">
          <%= pagination_links_full @pages, @count, :per_page_links => false, :remote => @is_remote, :flag => true, :is_new => true%>
        </ul>
        <div class="cl"></div>
      </div>
    </div>
<% end %>