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

_snippet_title.html.haml « results « search « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a811dabf399420f8d93b801155316121a259567b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.search-result-row
  %h4
    = link_to gitlab_snippet_path(snippet_title) do
      = truncate(snippet_title.title, length: 60)
      = snippet_badge(snippet_title)
    %span.cgray.monospace.tiny.float-right.term
      = snippet_title.file_name

  %small.float-right.cgray
    - if snippet_title.project_id?
      = link_to snippet_title.project.full_name, project_path(snippet_title.project)

  .snippet-info
    = snippet_title.to_reference
    %span
      by
      = link_to user_snippets_path(snippet_title.author) do
        = render Pajamas::AvatarComponent.new(snippet_title.author, size: 16, class: 'gl-mt-n1')
        = snippet_title.author_name
      %span.light= time_ago_with_tooltip(snippet_title.created_at)