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
52b1e3b7
Commit
52b1e3b7
authored
Apr 20, 2020
by
Igor Drozdov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused render_lock_icon method
parent
84031c99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
ee/app/helpers/ee/lock_helper.rb
ee/app/helpers/ee/lock_helper.rb
+0
-14
No files found.
ee/app/helpers/ee/lock_helper.rb
View file @
52b1e3b7
...
...
@@ -72,19 +72,5 @@ module EE
link_to
label
,
'#'
,
html_options
end
def
render_lock_icon
(
path
)
return
unless
@project
.
root_ref?
(
@ref
)
if
file_lock
=
@project
.
find_path_lock
(
path
,
exact_match:
true
)
content_tag
(
:i
,
nil
,
class:
"fa fa-lock prepend-left-5 append-right-5"
,
title:
text_label_for_lock
(
file_lock
,
path
),
'data-toggle'
=>
'tooltip'
)
end
end
end
end
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