diff --git a/app/views/digest_mailer/work_packages.html.erb b/app/views/digest_mailer/work_packages.html.erb index ae407de451..79bd7e57fe 100644 --- a/app/views/digest_mailer/work_packages.html.erb +++ b/app/views/digest_mailer/work_packages.html.erb @@ -36,25 +36,33 @@ <% if @aggregated_notifications.length > DigestMailer::MAX_SHOWN_WORK_PACKAGES %> - - <% number_of_overflowing_work_packages = @aggregated_notifications.length - DigestMailer::MAX_SHOWN_WORK_PACKAGES %> - <% if number_of_overflowing_work_packages === 1 %> - <%= I18n.t(:'mail.digests.work_packages.more_to_see_singular') %> - <% else %> - <%= I18n.t(:'mail.digests.work_packages.more_to_see_plural', number: number_of_overflowing_work_packages) %> - <% end %> - - - <%= I18n.t(:'mail.digests.work_packages.see_all') %> - + + + + + +
+ + <% number_of_overflowing_work_packages = @aggregated_notifications.length - DigestMailer::MAX_SHOWN_WORK_PACKAGES %> + <% if number_of_overflowing_work_packages === 1 %> + <%= I18n.t(:'mail.digests.work_packages.more_to_see_singular') %> + <% else %> + <%= I18n.t(:'mail.digests.work_packages.more_to_see_plural', number: number_of_overflowing_work_packages) %> + <% end %> + + + + <%= I18n.t(:'mail.digests.work_packages.see_all') %> + +
<% end %> diff --git a/app/views/mailer/_notification_row.html.erb b/app/views/mailer/_notification_row.html.erb index 32c556a2b7..9a922d235c 100644 --- a/app/views/mailer/_notification_row.html.erb +++ b/app/views/mailer/_notification_row.html.erb @@ -9,15 +9,21 @@ target="_blank"> - - -
- <%= work_package.status %> + + + + + +
+ <%= work_package.status %> +
#<%= work_package.id %> - <%= work_package.project %> @@ -29,13 +35,19 @@ default: '') %><%= ', ' unless unique_reasons.size-1 == index %> <% end %> - <%= notifications_by_work_package.length %> + + + + + +
+ <%= notifications_by_work_package.length %> +