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/search/results/_snippet_title.html.haml')
-rw-r--r--app/views/search/results/_snippet_title.html.haml23
1 files changed, 0 insertions, 23 deletions
diff --git a/app/views/search/results/_snippet_title.html.haml b/app/views/search/results/_snippet_title.html.haml
deleted file mode 100644
index c414acb6a11..00000000000
--- a/app/views/search/results/_snippet_title.html.haml
+++ /dev/null
@@ -1,23 +0,0 @@
-.search-result-row
- %h4.snippet-title.term
- = link_to reliable_snippet_path(snippet_title) do
- = truncate(snippet_title.title, length: 60)
- - if snippet_title.private?
- %span.label.label-gray
- %i.fa.fa-lock
- private
- %span.cgray.monospace.tiny.pull-right.term
- = snippet_title.file_name
-
- %small.pull-right.cgray
- - if snippet_title.project_id?
- = link_to snippet_title.project.name_with_namespace, namespace_project_path(snippet_title.project.namespace, snippet_title.project)
-
- .snippet-info
- = "##{snippet_title.id}"
- %span
- by
- = link_to user_snippets_path(snippet_title.author) do
- = image_tag avatar_icon(snippet_title.author_email), class: "avatar avatar-inline s16", alt: ''
- = snippet_title.author_name
- %span.light #{time_ago_with_tooltip(snippet_title.created_at)}