Fix the number representing the amount of commits related to a push event
This commit is contained in:
parent
6c33fb8466
commit
9137114355
|
@ -19,8 +19,7 @@
|
|||
- create_mr = event.new_ref? && create_mr_button?(project.default_branch, event.ref_name, project) && event.authored_by?(current_user)
|
||||
- if event.commits_count > 1
|
||||
%li.commits-stat
|
||||
- if event.commits_count > 2
|
||||
%span ... and #{event.commits_count - 2} more commits.
|
||||
%span ... and #{pluralize(event.commits_count - 1, 'more commit')}.
|
||||
|
||||
- if event.md_ref?
|
||||
- from = event.commit_from
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix the number representing the amount of commits related to a push event
|
||||
merge_request:
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in New Issue