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
Léo-Paul Géneau
gitlab-ce
Commits
0822f192
Commit
0822f192
authored
May 29, 2019
by
Donald Cook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CE: Resolve EE differences in search/_results.html.haml
parent
9209736a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/views/search/_results.html.haml
app/views/search/_results.html.haml
+2
-1
No files found.
app/views/search/_results.html.haml
View file @
0822f192
-
if
@search_objects
.
to_a
.
empty?
-
if
@search_objects
.
to_a
.
empty?
=
render
partial:
"search/results/empty"
=
render
partial:
"search/results/empty"
=
render_if_exists
'shared/promotions/promote_advanced_search'
-
else
-
else
.row-content-block
.row-content-block
-
unless
@search_objects
.
is_a?
(
Kaminari
::
PaginatableWithoutCount
)
-
unless
@search_objects
.
is_a?
(
Kaminari
::
PaginatableWithoutCount
)
...
@@ -11,7 +12,7 @@
...
@@ -11,7 +12,7 @@
-
elsif
@group
-
elsif
@group
-
link_to_group
=
link_to
(
@group
.
name
,
@group
)
-
link_to_group
=
link_to
(
@group
.
name
,
@group
)
=
_
(
"in group %{link_to_group}"
).
html_safe
%
{
link_to_group:
link_to_group
}
=
_
(
"in group %{link_to_group}"
).
html_safe
%
{
link_to_group:
link_to_group
}
=
render_if_exists
'shared/promotions/promote_advanced_search'
.results.prepend-top-10
.results.prepend-top-10
-
if
@scope
==
'commits'
-
if
@scope
==
'commits'
%ul
.content-list.commit-list
%ul
.content-list.commit-list
...
...
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