OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/mailer/_notification_mailer_header...

57 lines
1.9 KiB

<table <%= placeholder_table_styles(style: "width:100%;min-width:100%") %>>
<tr>
<td>
<table <%= placeholder_table_styles %>>
<tr>
<%= placeholder_cell('12px', true) %>
<td>
<table <%= placeholder_table_styles(style: "width:100%") %>>
<tr>
<td>
<span style="font-size: 24px; color: #333333;">
<%= I18n.t(:'mail.salutation', user: @user.firstname) %>
</span>
</td>
</tr>
<tr>
<%= placeholder_cell('8px') %>
</tr>
<tr>
<td>
<span style="font-size:16px; color: #1A67A3; font-weight: bold;">
<%= summary %>
</span>
</td>
</tr>
<tr>
<%= placeholder_cell('24px') %>
</tr>
<tr>
<td>
<a href="<%= notifications_center_url %>"
target="_blank"
style="background: #D1E5F5; padding: 8px 12px; color: #1A67A3; border: 1px solid #1A67A3; border-radius: 16px; text-decoration: none;font-size: 14px;">
<%= I18n.t(:'mail.notification.center') %>
</a>
</td>
</tr>
<tr>
<%= placeholder_cell('40px') %>
</tr>
</table>
</td>
<%= placeholder_cell('16px', true) %>
<td>
<table <%= placeholder_table_styles %>>
<tr>
<td style="width: 96px; height: 96px; vertical-align: top;">
<%= logo_tag({ alt: "#{Setting.app_title} #{I18n.t(:'mail.logo_alt_text')}", style: "height: 96px;"}) %>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>