%= render :partial => "pull_requests/pull_request_container" %>
- 打开1
- 合并1
- 关闭1
- 全部3
<%= link_to "创建Pull Request", new_project_pull_request_path, :class => "BlueCirBtn fr ml10 mt10", :style => "width:110px;" %>
<% if @requests.nil? %>
没有可显示的请求
<% else %>
<% @requests.each do |request| %>
-
<% request %>
<%=link_to request.title, project_pull_request_path(request.id, :project_id => @project.id), :class => "linkGrey3 fb fl"%>
<%= 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) %>
<%= time_tag(request.updated_at) %>更新
<% end %>
<% end %>