Bug #4414

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

Added by Peter Amstutz almost 7 years ago. Updated almost 7 years ago.

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.


Subtasks

Task #4810: Review branch: 4414-add-new-in-project-dropdownResolvedPeter Amstutz

Associated revisions

Revision d28d5446
Added by Radhika Chippada almost 7 years ago

closes #4414
Merge branch '4414-add-new-in-project-dropdown'

History

#1 Updated by Peter Amstutz almost 7 years ago

  • Description updated (diff)

#2 Updated by Peter Amstutz almost 7 years ago

  • Category set to Workbench

#3 Updated by Tom Clegg almost 7 years ago

  • Story points set to 0.5

#4 Updated by Tom Clegg almost 7 years ago

  • Target version changed from Bug Triage to Arvados Future Sprints

#5 Updated by Ward Vandewege almost 7 years ago

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

#6 Updated by Radhika Chippada almost 7 years ago

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

#7 Updated by Radhika Chippada almost 7 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.

#8 Updated by Radhika Chippada almost 7 years ago

  • Status changed from In Progress to Resolved

Applied in changeset arvados|commit:d28d5446be0427609b6a288f39dac383ba83075f.

Also available in: Atom PDF