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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
a038083e
Commit
a038083e
authored
Jun 09, 2018
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unify app/views/search/results by using EE
parent
a20d3ff2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/views/search/results/_blob_data.html.haml
app/views/search/results/_blob_data.html.haml
+2
-1
app/views/search/results/_commit.html.haml
app/views/search/results/_commit.html.haml
+1
-1
No files found.
app/views/search/results/_blob_data.html.haml
View file @
a038083e
...
...
@@ -3,7 +3,8 @@
.js-file-title.file-title
=
link_to
blob_link
do
%i
.fa.fa-file
=
search_blob_title
(
project
,
file_name
)
%strong
=
search_blob_title
(
project
,
file_name
)
-
if
blob
.
data
.file-content.code.term
=
render
'shared/file_highlight'
,
blob:
blob
,
first_line_number:
blob
.
startline
app/views/search/results/_commit.html.haml
View file @
a038083e
=
render
'projects/commits/commit'
,
project:
@project
,
commit:
commit
,
ref:
nil
=
render
'projects/commits/commit'
,
project:
commit
.
project
,
commit:
commit
,
ref:
nil
,
show_project_name:
true
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