diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-03-07 10:42:27 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-03-07 10:42:27 +0100 |
commit | d51877cac821d17bd79c9c0efbd8e15b7f4c09a3 (patch) | |
tree | 11c1f5f8de0583124df8d97fb8b496ad1b7bd510 /app/views | |
parent | 823633325833a6449be9351cec7d78788274d57f (diff) | |
download | gitlab-ce-d51877cac821d17bd79c9c0efbd8e15b7f4c09a3.tar.gz |
Change "some commits hidden" message
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/commits/_commit_list.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/commits/_commits.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/commits/_commit_list.html.haml b/app/views/projects/commits/_commit_list.html.haml index 62e5f346777..c0988eca6de 100644 --- a/app/views/projects/commits/_commit_list.html.haml +++ b/app/views/projects/commits/_commit_list.html.haml @@ -9,6 +9,6 @@ - commits.each do |commit| = render "projects/commits/inline_commit", commit: commit, project: @project %li.warning-row.unstyled - other #{hidden} commits hidden to prevent performance issues. + #{number_with_delimiter(hidden)} additional commits have been omitted. - else %ul.well-list= render commits, project: @project diff --git a/app/views/projects/commits/_commits.html.haml b/app/views/projects/commits/_commits.html.haml index 998251094a4..787fe443ac8 100644 --- a/app/views/projects/commits/_commits.html.haml +++ b/app/views/projects/commits/_commits.html.haml @@ -18,4 +18,4 @@ - if hidden > 0 .alert.alert-warning - Not shown: #{hidden} more commits + #{number_with_delimiter(hidden)} additional commits have been omitted. |