diff --git a/static/js/controllers.js b/static/js/controllers.js index 100e64e98..6274ee88c 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -373,9 +373,9 @@ function RepoCtrl($scope, Restangular, $routeParams, $rootScope, $location, $tim $scope.getMoreCount = function(changes) { if (!changes) { return 0; } - var addedDisplayed = Math.min(15, changes.added.length); - var removedDisplayed = Math.min(15, changes.removed.length); - var changedDisplayed = Math.min(15, changes.changed.length); + var addedDisplayed = Math.min(5, changes.added.length); + var removedDisplayed = Math.min(5, changes.removed.length); + var changedDisplayed = Math.min(5, changes.changed.length); return (changes.added.length + changes.removed.length + changes.changed.length) - addedDisplayed - removedDisplayed - changedDisplayed; diff --git a/static/partials/view-repo.html b/static/partials/view-repo.html index 6befa64a7..bf94714ec 100644 --- a/static/partials/view-repo.html +++ b/static/partials/view-repo.html @@ -140,7 +140,7 @@ -