%- pbi_id = "pbi_#{pbi.id}" -%>
<%= render_pbi_left_header(pbi) %> | <%= render_pbi_right_header(pbi) %> | <%- if pbi.has_story_points? -%> <%= render :partial => "common/scrum_story_points", :locals => {:project => project, :pbi => pbi, :read_only => read_only} %> <%- end -%> | <%- if User.current.allowed_to?(:edit_product_backlog, project) and User.current.allowed_to?(:edit_issues, project) and pbi.editable? and !read_only -%><%= link_to "", edit_pbi_path(pbi), :remote => true, :method => "GET", :class => "icon icon-edit" %> | <%- end -%> <%- if User.current.allowed_to?(:sort_product_backlog, project) and User.current.allowed_to?(:edit_issues, project) and pbi.editable? and !read_only -%>
<%= link_to "", move_pbi_path(pbi, :top),
:remote => true, :method => "GET", :class => "icon icon-move-top" %>
<%= link_to "", move_pbi_path(pbi, :bottom), :remote => true, :method => "GET", :class => "icon icon-move-bottom" %> |
<%- end -%>
<%= link_to_issue(pbi) %> |