Project

General

Profile

Actions

Bug #4414

closed

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

Added by Peter Amstutz about 10 years ago. Updated about 10 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 #1

Updated by Peter Amstutz about 10 years ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz about 10 years ago

  • Category set to Workbench
Actions #3

Updated by Tom Clegg about 10 years ago

  • Story points set to 0.5
Actions #4

Updated by Tom Clegg about 10 years ago

  • Target version changed from Bug Triage to Arvados Future Sprints
Actions #5

Updated by Ward Vandewege about 10 years ago

  • Target version changed from Arvados Future Sprints to 2015-01-07 sprint
Actions #6

Updated by Radhika Chippada about 10 years ago

  • Status changed from New to In Progress
  • Assigned To set to Radhika Chippada
Actions #7

Updated by Radhika Chippada about 10 years ago

Added a "Add a new project" button / link to the Projects dropdown. I called this "Add a new project" instead of previously used "New project" because we have used the label "Add a new XXX" for other types of objects.

Actions #8

Updated by Radhika Chippada about 10 years ago

  • Status changed from In Progress to Resolved

Applied in changeset arvados|commit:d28d5446be0427609b6a288f39dac383ba83075f.

Actions

Also available in: Atom PDF