Project

General

Profile

Actions

Bug #4414

closed

[Workbench] "Add new project" button missing from projects dropdown.

Added by Peter Amstutz over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
Workbench
Target version:
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.


Subtasks 1 (0 open1 closed)

Task #4810: Review branch: 4414-add-new-in-project-dropdownResolvedPeter Amstutz12/12/2014Actions
Actions

Also available in: Atom PDF