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

_commit.html.haml « commits « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 658b23fbcfad0c9426b49c78e6b588633d326e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%li.commit
  .commit-row-title
    = link_to commit.short_id(8), project_commit_path(project, commit), class: "commit_short_id"
     
    = link_to_gfm truncate(commit.title, length: 70), project_commit_path(project, commit.id), class: "commit-row-message"
    = link_to "Browse Code »", project_tree_path(project, commit), class: "pull-right"
    .notes_count
      - notes = project.notes.for_commit_id(commit.id)
      - if notes.any?
        %span.label.label-gray
          %i.icon-comment
          = notes.count

  .commit-row-info
    = commit_author_link(commit, avatar: true, size: 16)
    .committed_ago
      #{time_ago_with_tooltip(commit.committed_date)} ago