diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-01-25 12:51:53 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-01-25 12:51:53 +0000 |
commit | 84ae12c9ed525613c471a8c5d73f5989b07dd9f4 (patch) | |
tree | a7ae09ede7affd3c5593a234c37180b490adbac7 /app/views/projects/commits | |
parent | f4c0ed5ee2a27c2643ade39ac387a4d9ac7b7d93 (diff) | |
parent | 08c57ec94ac622530c3bd401467ab6574b6de2e5 (diff) | |
download | gitlab-ce-84ae12c9ed525613c471a8c5d73f5989b07dd9f4.tar.gz |
Merge branch '22072-enable-haml-linters-phase-2' into 'master'
Enable HAML-LINT linters phase 2
Closes #22072
See merge request !8566
Diffstat (limited to 'app/views/projects/commits')
-rw-r--r-- | app/views/projects/commits/_commits.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commits/_commits.html.haml b/app/views/projects/commits/_commits.html.haml index fcc367951ad..904cdb5767f 100644 --- a/app/views/projects/commits/_commits.html.haml +++ b/app/views/projects/commits/_commits.html.haml @@ -2,7 +2,7 @@ - commits, hidden = limited_commits(@commits) - commits.chunk { |c| c.committed_date.in_time_zone.to_date }.each do |day, commits| - %li.commit-header= "#{day.strftime('%d %b, %Y')} #{pluralize(commits.count, 'commit')}" + %li.commit-header #{day.strftime('%d %b, %Y')} #{pluralize(commits.count, 'commit')} %li.commits-row %ul.content-list.commit-list.table-list.table-wide = render commits, project: project, ref: ref |