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
3f6888d0
Commit
3f6888d0
authored
May 16, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
58756b11
0795742f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
app/assets/javascripts/diffs/components/tree_list.vue
app/assets/javascripts/diffs/components/tree_list.vue
+8
-1
No files found.
app/assets/javascripts/diffs/components/tree_list.vue
View file @
3f6888d0
<
script
>
import
{
mapActions
,
mapGetters
,
mapState
}
from
'
vuex
'
;
import
{
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
s__
,
sprintf
}
from
'
~/locale
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
FileRow
from
'
~/vue_shared/components/file_row.vue
'
;
import
FileRowStats
from
'
./file_row_stats.vue
'
;
...
...
@@ -57,6 +58,9 @@ export default {
this
.
search
=
''
;
},
},
searchPlaceholder
:
sprintf
(
s__
(
'
MergeRequest|Filter files or search with %{modifier_key}+p
'
),
{
modifier_key
:
/Mac/i
.
test
(
navigator
.
userAgent
)
?
'
cmd
'
:
'
ctrl
'
,
}),
};
</
script
>
...
...
@@ -65,10 +69,13 @@ export default {
<div
class=
"append-bottom-8 position-relative tree-list-search d-flex"
>
<div
class=
"flex-fill d-flex"
>
<icon
name=
"search"
class=
"position-absolute tree-list-icon"
/>
<label
for=
"diff-tree-search"
class=
"sr-only"
>
{{
$options
.
searchPlaceholder
}}
</label>
<input
id=
"diff-tree-search"
v-model=
"search"
:placeholder=
"
s__('MergeRequest|Filter files')
"
:placeholder=
"
$options.searchPlaceholder
"
type=
"search"
name=
"diff-tree-search"
class=
"form-control"
/>
<button
...
...
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