Commit 78514b79 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove packages tab from sidebar

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 8f12f988
......@@ -262,19 +262,6 @@
%strong.fly-out-top-item-name
= _('Registry')
- if project_nav_tab? :packages
= nav_link(controller: %w[projects/packages]) do
= link_to project_packages_path(@project) do
.nav-icon-container
= sprite_icon('disk')
%span.nav-item-name
= _('Packages')
%ul.sidebar-sub-level-items.is-fly-out-only
= nav_link(controller: %w[projects/packages], html_options: { class: "fly-out-top-item" } ) do
= link_to project_packages_path(@project) do
%strong.fly-out-top-item-name
= _('Packages')
- if project_nav_tab? :wiki
= nav_link(controller: :wikis) do
= link_to get_project_wiki_path(@project), class: 'shortcuts-wiki' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment