diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bc787985..c2e5bf3c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,12 @@ - Fix a bug: unable to sync projects with openprojects - Fix a bug: public availabilities (no user) was buggy (server error) +- Fix a bug: unable to generate statistic - [TODO DEPLOY] `rails fablab:openlab:bulk_export` - [TODO DEPLOY] `rails fablab:openlab:bulk_update` +- [TODO DEPLOY] `rails fablab:es:build_stats` +- [TODO DEPLOY] `rails fablab:maintenance:regenerate_statistics[2023,6]` ## v6.1.0 2023 September 25 diff --git a/app/frontend/src/stylesheets/modules/projects/projects.scss b/app/frontend/src/stylesheets/modules/projects/projects.scss index b8ce90a45..cc69f474c 100644 --- a/app/frontend/src/stylesheets/modules/projects/projects.scss +++ b/app/frontend/src/stylesheets/modules/projects/projects.scss @@ -39,6 +39,10 @@ grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 3.2rem; & > span { grid-column: 1/-1;} + & > a { + grid-column: 1/-1; + justify-self: center; + } } @media (min-width: 1200px) { diff --git a/app/frontend/templates/projects/index.html b/app/frontend/templates/projects/index.html index fde57a138..b2bde70ed 100644 --- a/app/frontend/templates/projects/index.html +++ b/app/frontend/templates/projects/index.html @@ -126,8 +126,7 @@
{{project.name}}
{{ project.app_name }} - - {{ 'app.public.projects_list.load_next_projects' }} + {{ 'app.public.projects_list.load_next_projects' }} diff --git a/app/services/statistics/builder_service.rb b/app/services/statistics/builder_service.rb index 9e84eb697..60fcc57d2 100644 --- a/app/services/statistics/builder_service.rb +++ b/app/services/statistics/builder_service.rb @@ -17,7 +17,7 @@ class Statistics::BuilderService private def default_options - yesterday = Time.current + yesterday = 1.day.ago { start_date: yesterday.beginning_of_day, end_date: yesterday.end_of_day