Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_file_highlight.html.haml')
-rw-r--r--app/views/shared/_file_highlight.html.haml11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/views/shared/_file_highlight.html.haml b/app/views/shared/_file_highlight.html.haml
deleted file mode 100644
index fba69dd0f3f..00000000000
--- a/app/views/shared/_file_highlight.html.haml
+++ /dev/null
@@ -1,11 +0,0 @@
-.file-content.code{class: user_color_scheme_class}
- .line-numbers
- - if blob.data.present?
- - blob.data.lines.to_a.size.times do |index|
- - offset = defined?(first_line_number) ? first_line_number : 1
- - i = index + offset
- = link_to "#L#{i}", id: "L#{i}", rel: "#L#{i}" do
- %i.fa.fa-link
- = i
- :preserve
- #{highlight(blob.name, blob.data)}