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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Add button to change notification settings in email
Henriette Darge1310247689a9
diff --git a/app/views/digest_mailer/work_packages.html.erb b/app/views/digest_mailer/work_packages.html.erbindex 2e437460600..85b95cbbc4e 100644--- a/app/views/digest_mailer/work_packages.html.erb+++ b/app/views/digest_mailer/work_packages.html.erb@@ -23,7 +23,7 @@<% @aggregated_notifications.each do | work_package, notifications_by_work_package| %><a style="border: 1px solid #E0E0E0;margin-bottom: 15px;- padding: 10px;+ padding: 12px;border-radius: 10px;text-decoration: none;display: block;"@@ -90,3 +90,17 @@</table></a><% end %>++<table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin: 30px 0;">+ <tr>+ <td width="100%"></td>+ <td>+ <a href="<%= my_notifications_url %>"+ target="_blank"+ style="padding: 8px 12px; color: #333333; border: 1px solid #878787; border-radius: 16px; text-decoration: none; white-space: nowrap;">+ <%= I18n.t(:'mail.digests.settings') %>+ </a>+ </td>+ </tr>+</table>+diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 6a1ee72bbf2..701fc7e0b93 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -1968,8 +1968,9 @@ en:actions: 'Actions'digests:center: 'Notification center'- time_frame: "At %{time} on %{weekday}, %{date}, you have %{number_unread} unread notifications in %{number_work_packages} work packages"salutation: 'Hey %{user}!'+ settings: 'Change email settings'+ time_frame: "At %{time} on %{weekday}, %{date}, you have %{number_unread} unread notifications in %{number_work_packages} work packages"work_packages:created: 'Created'created_at: 'by %{user} %{timestamp} ago'