diff --git a/src/Form/Type/PageSizeType.php b/src/Form/Type/PageSizeType.php index 0f641261..3145e061 100644 --- a/src/Form/Type/PageSizeType.php +++ b/src/Form/Type/PageSizeType.php @@ -25,7 +25,17 @@ class PageSizeType extends AbstractType { $resolver->setDefaults([ 'label' => 'label.pageSize', - 'choices' => [10 => 10, 25 => 25, 50 => 50, 75 => 75, 100 => 100], + 'choices' => [ + 10 => 10, + 25 => 25, + 50 => 50, + 75 => 75, + 100 => 100, + 200 => 200, + 300 => 300, + 400 => 400, + 500 => 500 + ], 'placeholder' => null, ]); } diff --git a/src/Repository/Query/BaseQuery.php b/src/Repository/Query/BaseQuery.php index 26c23c10..329dc9f3 100644 --- a/src/Repository/Query/BaseQuery.php +++ b/src/Repository/Query/BaseQuery.php @@ -17,7 +17,7 @@ class BaseQuery public const ORDER_ASC = 'ASC'; public const ORDER_DESC = 'DESC'; - public const DEFAULT_PAGESIZE = 25; + public const DEFAULT_PAGESIZE = 100; public const DEFAULT_PAGE = 1; public const RESULT_TYPE_OBJECTS = 'Objects'; diff --git a/templates/macros/widgets.html.twig b/templates/macros/widgets.html.twig index 736e8122..de3ba689 100644 --- a/templates/macros/widgets.html.twig +++ b/templates/macros/widgets.html.twig @@ -64,7 +64,7 @@ {% if visible %} {{ macro.label('badge.visible', 'success') }} {% else %} - {{ macro.label('badge.invisible', 'warning') }} + {{ macro.label('badge.invisible', 'default') }} {% endif %} {% endmacro %} @@ -99,7 +99,7 @@ {% if not activity.project is null %} {% set label = activity.project.customer.name ~ ': ' ~ activity.project.name %} {% endif %} - {{ macro.label(activity.name, (isVisible ? 'primary' : 'warning'), label) }} + {{ macro.label(activity.name, (isVisible ? 'primary' : 'default'), label) }} {% endmacro %} {% macro label_project(project) %} @@ -107,7 +107,7 @@ {% if project.visible and project.customer.visible %} {{ macro.label(project.name, 'primary', project.customer.name) }} {% else %} - {{ macro.label(project.name, 'warning', project.customer.name) }} + {{ macro.label(project.name, 'default', project.customer.name) }} {% endif %} {% endmacro %} @@ -116,7 +116,7 @@ {% if customer.visible %} {{ macro.label(customer.name, 'primary') }} {% else %} - {{ macro.label(customer.name, 'warning') }} + {{ macro.label(customer.name, 'default') }} {% endif %} {% endmacro %}