diff --git a/app/views/digest_mailer/work_packages.html.erb b/app/views/digest_mailer/work_packages.html.erb
index 63b9c35d35..e675772e16 100644
--- a/app/views/digest_mailer/work_packages.html.erb
+++ b/app/views/digest_mailer/work_packages.html.erb
@@ -19,7 +19,9 @@
<%= digest_notification_timestamp_text(notification) %>
- <%= I18n.t(:"mail.digests.work_packages.reason.#{notification.reason_mail_digest}") %>
+ <%= I18n.t(
+ :"mail.digests.work_packages.reason.#{notification.reason_mail_digest || :unknown}",
+ default: '-') %>
|
|
@@ -53,4 +55,4 @@
<% end %>
-<% end %>
\ No newline at end of file
+<% end %>
diff --git a/db/migrate/20210615150558_aggregate_journals.rb b/db/migrate/20210615150558_aggregate_journals.rb
index b16e90ae02..1c6e90cb18 100644
--- a/db/migrate/20210615150558_aggregate_journals.rb
+++ b/db/migrate/20210615150558_aggregate_journals.rb
@@ -25,7 +25,7 @@ class AggregateJournals < ActiveRecord::Migration[6.1]
# The change is irreversible (aggregated journals cannot be broken down) but down will not cause database inconsistencies.
def aggregate_journals(klass)
- klass.in_batches do |instances|
+ klass.in_batches(of: ENV["OPENPROJECT_MIGRATION_AGGREGATE_JOURNALS_BATCH_SIZE"]&.to_i || 1000) do |instances|
# Instantiating is faster than calculating the aggregated journals multiple times.
aggregated_journals = aggregated_journals_of(klass, instances).to_a
diff --git a/docs/system-admin-guide/users-permissions/settings/README.md b/docs/system-admin-guide/users-permissions/settings/README.md
index e0d3b2152d..5e95685d2b 100644
--- a/docs/system-admin-guide/users-permissions/settings/README.md
+++ b/docs/system-admin-guide/users-permissions/settings/README.md
@@ -11,7 +11,7 @@ keywords: user settings
The user settings sections covers general settings, such as the default language, user deletion and user consent.
-User settings are accessibly by administrators from the OpenProject administration.
+User settings are accessible by administrators from the OpenProject administration.
![user and permissions settings](image-20200211140959585.png)
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/toolbar/notifications-settings-toolbar.component.html b/frontend/src/app/features/user-preferences/notifications-settings/toolbar/notifications-settings-toolbar.component.html
index cc453c33fe..88677c7b46 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/toolbar/notifications-settings-toolbar.component.html
+++ b/frontend/src/app/features/user-preferences/notifications-settings/toolbar/notifications-settings-toolbar.component.html
@@ -4,19 +4,17 @@
-
\ No newline at end of file
+