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
Tatuya Kamada
gitlab-ce
Commits
0ffacb8e
Commit
0ffacb8e
authored
Sep 05, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed commit search UI
Closes #21868
parent
fe3d94e8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
app/views/search/_results.html.haml
app/views/search/_results.html.haml
+10
-6
app/views/search/results/_commit.html.haml
app/views/search/results/_commit.html.haml
+1
-2
No files found.
app/views/search/_results.html.haml
View file @
0ffacb8e
...
...
@@ -10,6 +10,10 @@
in group
#{
link_to
@group
.
name
,
@group
}
.results.prepend-top-10
-
if
@scope
==
'commits'
%ul
.list-unstyled
=
render
partial:
"search/results/commit"
,
collection:
@search_objects
-
else
.search-results
-
if
@scope
==
'projects'
.term
...
...
app/views/search/results/_commit.html.haml
View file @
0ffacb8e
.search-result-row
=
render
'projects/commits/commit'
,
project:
@project
,
commit:
commit
=
render
'projects/commits/commit'
,
project:
@project
,
commit:
commit
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