BigW Consortium Gitlab

Commit 9d9d2fbb by Jacob Vosmaer

Prevent performance issues

parent d51877ca
...@@ -9,6 +9,6 @@ ...@@ -9,6 +9,6 @@
- commits.each do |commit| - commits.each do |commit|
= render "projects/commits/inline_commit", commit: commit, project: @project = render "projects/commits/inline_commit", commit: commit, project: @project
%li.warning-row.unstyled %li.warning-row.unstyled
#{number_with_delimiter(hidden)} additional commits have been omitted. #{number_with_delimiter(hidden)} additional commits have been omitted to prevent performance issues.
- else - else
%ul.well-list= render commits, project: @project %ul.well-list= render commits, project: @project
...@@ -18,4 +18,4 @@ ...@@ -18,4 +18,4 @@
- if hidden > 0 - if hidden > 0
.alert.alert-warning .alert.alert-warning
#{number_with_delimiter(hidden)} additional commits have been omitted. #{number_with_delimiter(hidden)} additional commits have been omitted to prevent performance issues.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment