-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Expand file tree
/
Copy pathmentioned.html.erb
More file actions
49 lines (45 loc) · 1.63 KB
/
Copy pathmentioned.html.erb
File metadata and controls
49 lines (45 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<table <%= placeholder_table_styles %>>
<tr>
<%= placeholder_cell("20px", vertical: false) %>
</tr>
</table>
<table <%= placeholder_table_styles(width: "100%", style: "width:100%;max-width:700px;") %>>
<tr>
<%= placeholder_cell("12px", vertical: true) %>
<td>
<%= render partial: "mailer/mailer_header",
locals: {
summary: I18n.t(:"mail.work_packages.mentioned_by", user: @journal.user),
button_href: details_notifications_url(@work_package.id, tab: :activity),
button_text: I18n.t(:"mail.notification.see_in_center"),
user: @user
} %>
<%= render layout: "mailer/notification_row",
locals: {
work_package: @work_package,
unique_reasons: [:mentioned],
show_count: false,
user: @user
} do %>
<table <%= placeholder_table_styles(width: "100%", style: "width:100%;") %>>
<tr>
<td style="<%= placeholder_text_styles %>">
<%= format_mail_html @journal.notes %>
</td>
</tr>
</table>
<% end %>
<%= render partial: "mailer/notification_settings_table",
locals: {
button_url: my_notifications_url(tab: "reminders"),
button_text: I18n.t(:"mail.notification.settings")
} %>
<table>
<tr>
<%= placeholder_cell("40px", vertical: false) %>
</tr>
</table>
</td>
<%= placeholder_cell("12px", vertical: true) %>
</tr>
</table>