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

Allow to disable the bottom spacing

Oliver Günther534631417963
diff --git a/app/views/mailer/_mailer_header.html.erb b/app/views/mailer/_mailer_header.html.erb
index 9182f57074f..5500a9eb31b 100644
--- a/app/views/mailer/_mailer_header.html.erb
+++ b/app/views/mailer/_mailer_header.html.erb
@@ -44,9 +44,11 @@
</td>
</tr>
<% end %>
+ <% if local_assigns[:bottom_spacing] != false %>
<tr>
<%= placeholder_cell('40px', vertical: false) %>
</tr>
+ <% end %>
</table>
</td>
<%= placeholder_cell('16px', vertical: true) %>
diff --git a/modules/meeting/app/views/meeting_mailer/rescheduled.html.erb b/modules/meeting/app/views/meeting_mailer/rescheduled.html.erb
index f48b44261cd..97a6bb5a9e1 100644
--- a/modules/meeting/app/views/meeting_mailer/rescheduled.html.erb
+++ b/modules/meeting/app/views/meeting_mailer/rescheduled.html.erb
@@ -32,6 +32,7 @@ See COPYRIGHT and LICENSE files for more details.
locals: {
salutation: "#{@meeting.project.name}: #{@meeting.title}",
summary: I18n.t('meeting.email.rescheduled.summary', title: @meeting.title, actor: @actor),
+ bottom_spacing: false
} %>
<%= render layout: 'mailer/border_table' do %>