Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add reminders filter to notifications sidemenu

Kabiru Mwenja7b90cf3acb5b
diff --git a/app/menus/notifications/menu.rb b/app/menus/notifications/menu.rb
index cc6961c823e..fbbf107e420 100644
--- a/app/menus/notifications/menu.rb
+++ b/app/menus/notifications/menu.rb
@@ -63,7 +63,7 @@ module Notifications
end
def reason_filters
- %w[mentioned assigned responsible watched dateAlert shared].map do |reason|
+ %w[mentioned assigned responsible watched dateAlert shared reminder].map do |reason|
count = unread_by_reason[reason]
menu_item(title: I18n.t("notifications.reasons.#{reason}"),
icon_key: reason,
@@ -128,7 +128,8 @@ module Notifications
"responsible" => :"op-person-accountable",
"watched" => :eye,
"shared" => :"share-android",
- "dateAlert" => :"op-calendar-alert"
+ "dateAlert" => :"op-calendar-alert",
+ "reminder" => :bell
}
end
diff --git a/config/locales/en.yml b/config/locales/en.yml
index e381ad283b0..752c48a5f69 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2204,6 +2204,7 @@ en:
responsible: "Accountable"
shared: "Shared"
watched: "Watcher"
+ reminder: "Reminder"
facets:
unread: "Unread"
unread_title: "Show unread"