Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
5b0bcd2c
Commit
5b0bcd2c
authored
Apr 10, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] Convert navbar-form and navbar-fixed-top
parent
737854e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/layouts/_search.html.haml
app/views/layouts/_search.html.haml
+1
-1
app/views/layouts/header/_empty.html.haml
app/views/layouts/header/_empty.html.haml
+1
-1
No files found.
app/views/layouts/_search.html.haml
View file @
5b0bcd2c
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
-
if
@project
&&
@project
.
persisted?
-
if
@project
&&
@project
.
persisted?
-
project_data_attrs
=
{
project_path:
j
(
@project
.
path
),
name:
j
(
@project
.
name
),
issues_path:
project_issues_path
(
@project
),
mr_path:
project_merge_requests_path
(
@project
),
issues_disabled:
!
@project
.
issues_enabled?
}
-
project_data_attrs
=
{
project_path:
j
(
@project
.
path
),
name:
j
(
@project
.
name
),
issues_path:
project_issues_path
(
@project
),
mr_path:
project_merge_requests_path
(
@project
),
issues_disabled:
!
@project
.
issues_enabled?
}
.search.search-form
{
class:
"#{'has-location-badge' if label.present?}"
}
.search.search-form
{
class:
"#{'has-location-badge' if label.present?}"
}
=
form_tag
search_path
,
method: :get
,
class:
'
navbar-form
'
do
|
f
|
=
form_tag
search_path
,
method: :get
,
class:
'
form-inline
'
do
|
f
|
.search-input-container
.search-input-container
-
if
label
.
present?
-
if
label
.
present?
.location-badge
=
label
.location-badge
=
label
...
...
app/views/layouts/header/_empty.html.haml
View file @
5b0bcd2c
%header
.navbar.
navbar-
fixed-top.navbar-empty
%header
.navbar.fixed-top.navbar-empty
.container
.container
.center-logo
.center-logo
=
brand_header_logo
=
brand_header_logo
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment