Commit 52b1e3b7 authored by Igor Drozdov's avatar Igor Drozdov

Remove unused render_lock_icon method

parent 84031c99
...@@ -72,19 +72,5 @@ module EE ...@@ -72,19 +72,5 @@ module EE
link_to label, '#', html_options link_to label, '#', html_options
end 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
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment