mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-21 02:26:12 +10:00
Remove div between ul and li ## What does this MR do? Adds `container_class`to `ul` instead of `div` for valid HTML ## What are the relevant issue numbers? https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4592#note_12420843 See merge request !4633
20 lines
730 B
Plaintext
20 lines
730 B
Plaintext
.nav-links.sub-nav
|
|
%ul{ class: (container_class) }
|
|
- if project_nav_tab? :pipelines
|
|
= nav_link(controller: :pipelines) do
|
|
= link_to project_pipelines_path(@project), title: 'Pipelines', class: 'shortcuts-pipelines' do
|
|
%span
|
|
Pipelines
|
|
|
|
- if project_nav_tab? :builds
|
|
= nav_link(controller: %w(builds)) do
|
|
= link_to project_builds_path(@project), title: 'Builds', class: 'shortcuts-builds' do
|
|
%span
|
|
Builds
|
|
|
|
- if project_nav_tab? :environments
|
|
= nav_link(controller: %w(environments)) do
|
|
= link_to project_environments_path(@project), title: 'Environments', class: 'shortcuts-environments' do
|
|
%span
|
|
Environments
|