Actions
Bug #4414
closed[Workbench] "Add new project" button missing from projects dropdown.
Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
Workbench
Target version:
Start date:
12/12/2014
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
Story points:
0.5
Description
Currently no "Add new project" button is rendering on the "Projects" dropdown menu, even though the following code snippet from layouts/body.html.erb suggests that this is still supposed to happen:
<%= render partial: "projects_tree_menu", locals: { :project_link_to => Proc.new do |pnode, &block| link_to(project_path(pnode[:object].uuid), data: { 'object-uuid' => pnode[:object].uuid, 'name' => 'name' }, &block) end, :top_button => Proc.new do %> <% link_to projects_path, method: 'post', class: 'btn btn-xs btn-default pull-right' do %> <i class="fa fa-plus"></i> New project <% end %> <% end %> <% } %>
Presumably the :top_button
option is broken.
Actions