<%- pbi_id = "pbi_#{pbi.id}" -%>
  • <%- if User.current.allowed_to?(:edit_product_backlog, project) and User.current.allowed_to?(:edit_issues, project) and pbi.editable? and !read_only -%> <%- end -%> <%- if User.current.allowed_to?(:sort_product_backlog, project) and User.current.allowed_to?(:edit_issues, project) and pbi.editable? and !read_only -%> <%- end -%>
    <%= 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 -%> <%= link_to "", edit_pbi_path(pbi), :remote => true, :method => "GET", :class => "icon icon-edit" %> <%= 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" %>
    <%= link_to_issue(pbi) %>
  • <%- if User.current.allowed_to?(:edit_product_backlog, project) and pbi.editable? and !read_only -%> <%= javascript_tag do %> draggableOnTouchScreen("<%= pbi_id %>"); <% end %> <%- end -%>