mumuki-laboratory 9.10.0 → 9.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_dropdown.scss +11 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_faqs.scss +1 -1
- data/app/controllers/application_controller.rb +1 -1
- data/app/controllers/users_controller.rb +33 -0
- data/app/helpers/application_helper.rb +2 -2
- data/app/helpers/icons_helper.rb +1 -1
- data/app/helpers/menu_bar_helper.rb +6 -2
- data/app/helpers/notifications_helper.rb +13 -0
- data/app/helpers/user_menu_helper.rb +4 -0
- data/app/mailers/user_mailer.rb +9 -1
- data/app/views/layouts/_user_menu.html.erb +1 -0
- data/app/views/layouts/exercise_inputs/read_only_editors/_code.html.erb +1 -1
- data/app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb +4 -4
- data/app/views/layouts/mailer.html.erb +7 -1
- data/app/views/notifications/_custom.html.erb +1 -0
- data/app/views/notifications/_dropdown.html.erb +2 -2
- data/app/views/notifications/_exam_authorization_request_updated.html.erb +2 -0
- data/app/views/notifications/_exam_registration.html.erb +2 -1
- data/app/views/notifications/previews/_custom.html.erb +1 -0
- data/app/views/notifications/previews/_discussion.html.erb +2 -0
- data/app/views/notifications/previews/_exam_authorization_request_updated.html.erb +2 -0
- data/app/views/notifications/previews/_exam_registration.html.erb +2 -0
- data/app/views/notifications/previews/_message.html.erb +2 -0
- data/app/views/user_mailer/1st_reminder.html.erb +7 -349
- data/app/views/user_mailer/1st_reminder.text.erb +0 -4
- data/app/views/user_mailer/2nd_reminder.html.erb +7 -349
- data/app/views/user_mailer/2nd_reminder.text.erb +0 -4
- data/app/views/user_mailer/3rd_reminder.html.erb +7 -349
- data/app/views/user_mailer/3rd_reminder.text.erb +0 -4
- data/app/views/user_mailer/_mail_template.erb +336 -0
- data/app/views/user_mailer/certificate.html.erb +7 -335
- data/app/views/user_mailer/certificate.text.erb +0 -3
- data/app/views/user_mailer/no_submissions_reminder.html.erb +7 -349
- data/app/views/user_mailer/no_submissions_reminder.text.erb +0 -4
- data/app/views/user_mailer/notification.html.erb +1 -0
- data/app/views/user_mailer/notification.text.erb +6 -0
- data/app/views/user_mailer/notifications/_custom.html.erb +11 -0
- data/app/views/user_mailer/notifications/_exam_authorization_request_updated.html.erb +1 -0
- data/app/views/user_mailer/notifications/_exam_registration.html.erb +7 -0
- data/app/views/user_mailer/notifications/exam_authorization_request_updated/_approved.html.erb +7 -0
- data/app/views/user_mailer/notifications/exam_authorization_request_updated/_rejected.html.erb +7 -0
- data/app/views/users/manage_notifications.html.erb +26 -0
- data/app/views/users/notifications.html.erb +54 -0
- data/config/routes.rb +4 -0
- data/lib/mumuki/laboratory/controllers/notifications.rb +2 -2
- data/lib/mumuki/laboratory/locales/en.yml +34 -1
- data/lib/mumuki/laboratory/locales/es-CL.yml +34 -1
- data/lib/mumuki/laboratory/locales/es.yml +35 -2
- data/lib/mumuki/laboratory/locales/pt.yml +34 -1
- data/lib/mumuki/laboratory/version.rb +1 -1
- data/spec/controllers/users_controller_spec.rb +48 -0
- data/spec/dummy/db/schema.rb +7 -1
- data/spec/features/notifications_flow_spec.rb +2 -1
- data/spec/mailers/previews/user_mailer_preview.rb +45 -1
- metadata +24 -9
- data/app/views/notifications/_discussion.html.erb +0 -1
- data/app/views/notifications/_exam_authorization_request.html.erb +0 -1
- data/app/views/notifications/_message.html.erb +0 -1
@@ -0,0 +1,336 @@
|
|
1
|
+
<span class="muMailPreviewText" style="display:none; font-size:0px; line-height:0px; max-height:0px; max-width:0px; opacity:0; overflow:hidden; visibility:hidden; mso-hide:all;"><%= title %></span><!--<![endif]-->
|
2
|
+
<center>
|
3
|
+
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable">
|
4
|
+
<tbody><tr>
|
5
|
+
<td align="center" valign="top" id="bodyCell">
|
6
|
+
<!-- BEGIN TEMPLATE // -->
|
7
|
+
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
8
|
+
<tbody><tr>
|
9
|
+
<td align="center" valign="top" id="templateHeader" data-template-container="">
|
10
|
+
<!--[if (gte mso 9)|(IE)]>
|
11
|
+
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
|
12
|
+
<tr>
|
13
|
+
<td align="center" valign="top" width="600" style="width:600px;">
|
14
|
+
<![endif]-->
|
15
|
+
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer">
|
16
|
+
<tbody><tr>
|
17
|
+
<td valign="top" class="headerContainer"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailTextBlock" style="min-width:100%;">
|
18
|
+
<tbody class="muMailTextBlockOuter">
|
19
|
+
<tr>
|
20
|
+
<td valign="top" class="muMailTextBlockInner" style="padding-top:9px;">
|
21
|
+
<!--[if mso]>
|
22
|
+
<table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;">
|
23
|
+
<tr>
|
24
|
+
<![endif]-->
|
25
|
+
|
26
|
+
<!--[if mso]>
|
27
|
+
<td valign="top" width="600" style="width:600px;">
|
28
|
+
<![endif]-->
|
29
|
+
<table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width:100%; min-width:100%;" width="100%" class="muMailTextContentContainer">
|
30
|
+
<tbody><tr>
|
31
|
+
|
32
|
+
<td valign="top" class="muMailTextContent" style="padding-top:0; padding-right:18px; padding-bottom:9px; padding-left:18px;">
|
33
|
+
|
34
|
+
<h1><span style="color:#FFFFFF"><%= title %></span></h1>
|
35
|
+
|
36
|
+
</td>
|
37
|
+
</tr>
|
38
|
+
</tbody></table>
|
39
|
+
<!--[if mso]>
|
40
|
+
</td>
|
41
|
+
<![endif]-->
|
42
|
+
|
43
|
+
<!--[if mso]>
|
44
|
+
</tr>
|
45
|
+
</table>
|
46
|
+
<![endif]-->
|
47
|
+
</td>
|
48
|
+
</tr>
|
49
|
+
</tbody>
|
50
|
+
</table></td>
|
51
|
+
</tr>
|
52
|
+
</tbody></table>
|
53
|
+
<!--[if (gte mso 9)|(IE)]>
|
54
|
+
</td>
|
55
|
+
</tr>
|
56
|
+
</table>
|
57
|
+
<![endif]-->
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td align="center" valign="top" id="templateBody" data-template-container="">
|
62
|
+
<!--[if (gte mso 9)|(IE)]>
|
63
|
+
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
|
64
|
+
<tr>
|
65
|
+
<td align="center" valign="top" width="600" style="width:600px;">
|
66
|
+
<![endif]-->
|
67
|
+
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer">
|
68
|
+
<tbody><tr>
|
69
|
+
<td valign="top" class="bodyContainer"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailCaptionBlock">
|
70
|
+
<tbody class="muMailCaptionBlockOuter">
|
71
|
+
<tr>
|
72
|
+
<td class="muMailCaptionBlockInner" valign="top" style="padding:9px;">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
<table border="0" cellpadding="0" cellspacing="0" class="muMailCaptionRightContentOuter" width="100%">
|
78
|
+
<tbody><tr>
|
79
|
+
<td valign="top" class="muMailCaptionRightContentInner" style="padding:0 9px ;">
|
80
|
+
<table class="muMailCaptionRightTextContentContainer" align="center" border="0" cellpadding="0" cellspacing="0" width="264">
|
81
|
+
<tbody><tr>
|
82
|
+
<td valign="top" class="muMailTextContent">
|
83
|
+
<h3 class="null" style="text-align: center;"><br>
|
84
|
+
<span style="font-size:24px"><%= subtitle %></span></h3>
|
85
|
+
|
86
|
+
<div style="text-align: center;"><br>
|
87
|
+
<span style="font-size:16px"><%= text %></span></div>
|
88
|
+
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
</tbody></table>
|
92
|
+
</td>
|
93
|
+
</tr>
|
94
|
+
</tbody></table>
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
</td>
|
100
|
+
</tr>
|
101
|
+
</tbody>
|
102
|
+
</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailButtonBlock" style="min-width:100%;">
|
103
|
+
<tbody class="muMailButtonBlockOuter">
|
104
|
+
<tr>
|
105
|
+
<td style="padding-top:0; padding-right:18px; padding-bottom:18px; padding-left:18px;" valign="top" align="center" class="muMailButtonBlockInner">
|
106
|
+
<table border="0" cellpadding="0" cellspacing="0" class="muMailButtonContentContainer" style="border-collapse: separate !important;border-radius: 3px;background-color: #FF5B81;">
|
107
|
+
<tbody>
|
108
|
+
<tr>
|
109
|
+
<td align="center" valign="middle" class="muMailButtonContent" style="font-family: Helvetica; font-size: 18px; padding: 18px;">
|
110
|
+
<a class="muMailButton " title=<%= button %> href=<%= url %> target="_blank" style="font-weight: bold;letter-spacing: -0.5px;line-height: 100%;text-align: center;text-decoration: none;color: #FFFFFF;"><%= button %></a>
|
111
|
+
</td>
|
112
|
+
</tr>
|
113
|
+
</tbody>
|
114
|
+
</table>
|
115
|
+
</td>
|
116
|
+
</tr>
|
117
|
+
</tbody>
|
118
|
+
</table></td>
|
119
|
+
</tr>
|
120
|
+
</tbody></table>
|
121
|
+
<!--[if (gte mso 9)|(IE)]>
|
122
|
+
</td>
|
123
|
+
</tr>
|
124
|
+
</table>
|
125
|
+
<![endif]-->
|
126
|
+
</td>
|
127
|
+
</tr>
|
128
|
+
<tr>
|
129
|
+
<td align="center" valign="top" id="templateFooter" data-template-container="">
|
130
|
+
<!--[if (gte mso 9)|(IE)]>
|
131
|
+
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
|
132
|
+
<tr>
|
133
|
+
<td align="center" valign="top" width="600" style="width:600px;">
|
134
|
+
<![endif]-->
|
135
|
+
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer">
|
136
|
+
<tbody><tr>
|
137
|
+
<td valign="top" class="footerContainer"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailFollowBlock" style="min-width:100%;">
|
138
|
+
<tbody class="muMailFollowBlockOuter">
|
139
|
+
<tr>
|
140
|
+
<td align="center" valign="top" style="padding:9px" class="muMailFollowBlockInner">
|
141
|
+
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailFollowContentContainer" style="min-width:100%;">
|
142
|
+
<tbody><tr>
|
143
|
+
<td align="center" style="padding-left:9px;padding-right:9px;">
|
144
|
+
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width:100%;" class="muMailFollowContent">
|
145
|
+
<tbody><tr>
|
146
|
+
<td align="center" valign="top" style="padding-top:9px; padding-right:9px; padding-left:9px;">
|
147
|
+
<table align="center" border="0" cellpadding="0" cellspacing="0">
|
148
|
+
<tbody><tr>
|
149
|
+
<td align="center" valign="top">
|
150
|
+
<!--[if mso]>
|
151
|
+
<table align="center" border="0" cellspacing="0" cellpadding="0">
|
152
|
+
<tr>
|
153
|
+
<![endif]-->
|
154
|
+
|
155
|
+
<!--[if mso]>
|
156
|
+
<td align="center" valign="top">
|
157
|
+
<![endif]-->
|
158
|
+
|
159
|
+
|
160
|
+
<table align="left" border="0" cellpadding="0" cellspacing="0" style="display:inline;">
|
161
|
+
<tbody><tr>
|
162
|
+
<td valign="top" style="padding-right:10px; padding-bottom:9px;" class="muMailFollowContentItemContainer">
|
163
|
+
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailFollowContentItem">
|
164
|
+
<tbody><tr>
|
165
|
+
<td align="left" valign="middle" style="padding-top:5px; padding-right:10px; padding-bottom:5px; padding-left:9px;">
|
166
|
+
<table align="left" border="0" cellpadding="0" cellspacing="0" width="">
|
167
|
+
<tbody><tr>
|
168
|
+
|
169
|
+
<td align="center" valign="middle" width="24" class="muMailFollowIconContent">
|
170
|
+
<a href="http://www.facebook.com/MumukiOrg" target="_blank"><img src="https://cdn-images.mailchimp.com/icons/social-block-v2/outline-light-facebook-48.png" style="display:block;" height="24" width="24" class=""></a>
|
171
|
+
</td>
|
172
|
+
|
173
|
+
|
174
|
+
</tr>
|
175
|
+
</tbody></table>
|
176
|
+
</td>
|
177
|
+
</tr>
|
178
|
+
</tbody></table>
|
179
|
+
</td>
|
180
|
+
</tr>
|
181
|
+
</tbody></table>
|
182
|
+
|
183
|
+
<!--[if mso]>
|
184
|
+
</td>
|
185
|
+
<![endif]-->
|
186
|
+
|
187
|
+
<!--[if mso]>
|
188
|
+
<td align="center" valign="top">
|
189
|
+
<![endif]-->
|
190
|
+
|
191
|
+
|
192
|
+
<table align="left" border="0" cellpadding="0" cellspacing="0" style="display:inline;">
|
193
|
+
<tbody><tr>
|
194
|
+
<td valign="top" style="padding-right:10px; padding-bottom:9px;" class="muMailFollowContentItemContainer">
|
195
|
+
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailFollowContentItem">
|
196
|
+
<tbody><tr>
|
197
|
+
<td align="left" valign="middle" style="padding-top:5px; padding-right:10px; padding-bottom:5px; padding-left:9px;">
|
198
|
+
<table align="left" border="0" cellpadding="0" cellspacing="0" width="">
|
199
|
+
<tbody><tr>
|
200
|
+
|
201
|
+
<td align="center" valign="middle" width="24" class="muMailFollowIconContent">
|
202
|
+
<a href="http://www.twitter.com/MumukiOrg" target="_blank"><img src="https://cdn-images.mailchimp.com/icons/social-block-v2/outline-light-twitter-48.png" style="display:block;" height="24" width="24" class=""></a>
|
203
|
+
</td>
|
204
|
+
|
205
|
+
|
206
|
+
</tr>
|
207
|
+
</tbody></table>
|
208
|
+
</td>
|
209
|
+
</tr>
|
210
|
+
</tbody></table>
|
211
|
+
</td>
|
212
|
+
</tr>
|
213
|
+
</tbody></table>
|
214
|
+
|
215
|
+
<!--[if mso]>
|
216
|
+
</td>
|
217
|
+
<![endif]-->
|
218
|
+
|
219
|
+
<!--[if mso]>
|
220
|
+
<td align="center" valign="top">
|
221
|
+
<![endif]-->
|
222
|
+
|
223
|
+
|
224
|
+
<table align="left" border="0" cellpadding="0" cellspacing="0" style="display:inline;">
|
225
|
+
<tbody><tr>
|
226
|
+
<td valign="top" style="padding-right:0; padding-bottom:9px;" class="muMailFollowContentItemContainer">
|
227
|
+
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailFollowContentItem">
|
228
|
+
<tbody><tr>
|
229
|
+
<td align="left" valign="middle" style="padding-top:5px; padding-right:10px; padding-bottom:5px; padding-left:9px;">
|
230
|
+
<table align="left" border="0" cellpadding="0" cellspacing="0" width="">
|
231
|
+
<tbody><tr>
|
232
|
+
|
233
|
+
<td align="center" valign="middle" width="24" class="muMailFollowIconContent">
|
234
|
+
<a href="https://www.youtube.com/channel/UCQmkknsaTT2TDLT_-MDSGvQ" target="_blank"><img src="https://cdn-images.mailchimp.com/icons/social-block-v2/outline-light-youtube-48.png" style="display:block;" height="24" width="24" class=""></a>
|
235
|
+
</td>
|
236
|
+
|
237
|
+
|
238
|
+
</tr>
|
239
|
+
</tbody></table>
|
240
|
+
</td>
|
241
|
+
</tr>
|
242
|
+
</tbody></table>
|
243
|
+
</td>
|
244
|
+
</tr>
|
245
|
+
</tbody></table>
|
246
|
+
|
247
|
+
<!--[if mso]>
|
248
|
+
</td>
|
249
|
+
<![endif]-->
|
250
|
+
|
251
|
+
<!--[if mso]>
|
252
|
+
</tr>
|
253
|
+
</table>
|
254
|
+
<![endif]-->
|
255
|
+
</td>
|
256
|
+
</tr>
|
257
|
+
</tbody></table>
|
258
|
+
</td>
|
259
|
+
</tr>
|
260
|
+
</tbody></table>
|
261
|
+
</td>
|
262
|
+
</tr>
|
263
|
+
</tbody></table>
|
264
|
+
|
265
|
+
</td>
|
266
|
+
</tr>
|
267
|
+
</tbody>
|
268
|
+
</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailDividerBlock" style="min-width:100%;">
|
269
|
+
<tbody class="muMailDividerBlockOuter">
|
270
|
+
<tr>
|
271
|
+
<td class="muMailDividerBlockInner" style="min-width:100%; padding:18px;">
|
272
|
+
<table class="muMailDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width: 100%;border-top: 2px solid #505050;">
|
273
|
+
<tbody><tr>
|
274
|
+
<td>
|
275
|
+
<span></span>
|
276
|
+
</td>
|
277
|
+
</tr>
|
278
|
+
</tbody></table>
|
279
|
+
<!--
|
280
|
+
<td class="muMailDividerBlockInner" style="padding: 18px;">
|
281
|
+
<hr class="muMailDividerContent" style="border-bottom-color:none; border-left-color:none; border-right-color:none; border-bottom-width:0; border-left-width:0; border-right-width:0; margin-top:0; margin-right:0; margin-bottom:0; margin-left:0;" />
|
282
|
+
-->
|
283
|
+
</td>
|
284
|
+
</tr>
|
285
|
+
</tbody>
|
286
|
+
</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailTextBlock" style="min-width:100%;">
|
287
|
+
<tbody class="muMailTextBlockOuter">
|
288
|
+
<tr>
|
289
|
+
<td valign="top" class="muMailTextBlockInner" style="padding-top:9px;">
|
290
|
+
<!--[if mso]>
|
291
|
+
<table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;">
|
292
|
+
<tr>
|
293
|
+
<![endif]-->
|
294
|
+
|
295
|
+
<!--[if mso]>
|
296
|
+
<td valign="top" width="600" style="width:600px;">
|
297
|
+
<![endif]-->
|
298
|
+
<table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width:100%; min-width:100%;" width="100%" class="muMailTextContentContainer">
|
299
|
+
<tbody><tr>
|
300
|
+
|
301
|
+
<td valign="top" class="muMailTextContent" style="padding-top:0; padding-right:18px; padding-bottom:9px; padding-left:18px;">
|
302
|
+
|
303
|
+
© Copyright 2015-<%= Time.current.year %> <a href="https://mumuki.org/home/">Mumuki</a><em>.</em><br>
|
304
|
+
<br>
|
305
|
+
<%= t :stop_emails? %><br>
|
306
|
+
<%= link_to t(:manage_notification_subscriptions), @organization.url_for("/user/notifications/manage"), target: :_blank %>
|
307
|
+
</td>
|
308
|
+
</tr>
|
309
|
+
</tbody></table>
|
310
|
+
<!--[if mso]>
|
311
|
+
</td>
|
312
|
+
<![endif]-->
|
313
|
+
|
314
|
+
<!--[if mso]>
|
315
|
+
</tr>
|
316
|
+
</table>
|
317
|
+
<![endif]-->
|
318
|
+
</td>
|
319
|
+
</tr>
|
320
|
+
</tbody>
|
321
|
+
</table></td>
|
322
|
+
</tr>
|
323
|
+
</tbody></table>
|
324
|
+
<!--[if (gte mso 9)|(IE)]>
|
325
|
+
</td>
|
326
|
+
</tr>
|
327
|
+
</table>
|
328
|
+
<![endif]-->
|
329
|
+
</td>
|
330
|
+
</tr>
|
331
|
+
</tbody></table>
|
332
|
+
<!-- // END TEMPLATE -->
|
333
|
+
</td>
|
334
|
+
</tr>
|
335
|
+
</tbody></table>
|
336
|
+
</center>
|
@@ -1,335 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
<td align="center" valign="top" id="templateHeader" data-template-container="">
|
9
|
-
<!--[if (gte mso 9)|(IE)]>
|
10
|
-
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
|
11
|
-
<tr>
|
12
|
-
<td align="center" valign="top" width="600" style="width:600px;">
|
13
|
-
<![endif]-->
|
14
|
-
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer">
|
15
|
-
<tbody><tr>
|
16
|
-
<td valign="top" class="headerContainer"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailTextBlock" style="min-width:100%;">
|
17
|
-
<tbody class="muMailTextBlockOuter">
|
18
|
-
<tr>
|
19
|
-
<td valign="top" class="muMailTextBlockInner" style="padding-top:9px;">
|
20
|
-
<!--[if mso]>
|
21
|
-
<table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;">
|
22
|
-
<tr>
|
23
|
-
<![endif]-->
|
24
|
-
|
25
|
-
<!--[if mso]>
|
26
|
-
<td valign="top" width="600" style="width:600px;">
|
27
|
-
<![endif]-->
|
28
|
-
<table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width:100%; min-width:100%;" width="100%" class="muMailTextContentContainer">
|
29
|
-
<tbody><tr>
|
30
|
-
|
31
|
-
<td valign="top" class="muMailTextContent" style="padding-top:0; padding-right:18px; padding-bottom:9px; padding-left:18px;">
|
32
|
-
|
33
|
-
<h1><span style="color:#FFFFFF"><%= t :new_certificate_mailer_title %></span></h1>
|
34
|
-
|
35
|
-
</td>
|
36
|
-
</tr>
|
37
|
-
</tbody></table>
|
38
|
-
<!--[if mso]>
|
39
|
-
</td>
|
40
|
-
<![endif]-->
|
41
|
-
|
42
|
-
<!--[if mso]>
|
43
|
-
</tr>
|
44
|
-
</table>
|
45
|
-
<![endif]-->
|
46
|
-
</td>
|
47
|
-
</tr>
|
48
|
-
</tbody>
|
49
|
-
</table></td>
|
50
|
-
</tr>
|
51
|
-
</tbody></table>
|
52
|
-
<!--[if (gte mso 9)|(IE)]>
|
53
|
-
</td>
|
54
|
-
</tr>
|
55
|
-
</table>
|
56
|
-
<![endif]-->
|
57
|
-
</td>
|
58
|
-
</tr>
|
59
|
-
<tr>
|
60
|
-
<td align="center" valign="top" id="templateBody" data-template-container="">
|
61
|
-
<!--[if (gte mso 9)|(IE)]>
|
62
|
-
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
|
63
|
-
<tr>
|
64
|
-
<td align="center" valign="top" width="600" style="width:600px;">
|
65
|
-
<![endif]-->
|
66
|
-
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer">
|
67
|
-
<tbody><tr>
|
68
|
-
<td valign="top" class="bodyContainer"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailCaptionBlock">
|
69
|
-
<tbody class="muMailCaptionBlockOuter">
|
70
|
-
<tr>
|
71
|
-
<td class="muMailCaptionBlockInner" valign="top" style="padding:9px;">
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
<table border="0" cellpadding="0" cellspacing="0" class="muMailCaptionRightContentOuter" width="100%">
|
77
|
-
<tbody><tr>
|
78
|
-
<td valign="top" class="muMailCaptionRightContentInner" style="padding:0 9px ;">
|
79
|
-
<table class="muMailCaptionRightTextContentContainer" align="center" border="0" cellpadding="0" cellspacing="0" width="264">
|
80
|
-
<tbody><tr>
|
81
|
-
<td valign="top" class="muMailTextContent">
|
82
|
-
<h3 class="null" style="text-align: center;"><br>
|
83
|
-
<span style="font-size:24px"><%= t :new_certificate_mailer_p1 %></span></h3>
|
84
|
-
|
85
|
-
<div style="text-align: center;"><br>
|
86
|
-
<span style="font-size:16px"><%= t :new_certificate_mailer_p2 %></span></div>
|
87
|
-
|
88
|
-
</td>
|
89
|
-
</tr>
|
90
|
-
</tbody></table>
|
91
|
-
</td>
|
92
|
-
</tr>
|
93
|
-
</tbody></table>
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
</td>
|
99
|
-
</tr>
|
100
|
-
</tbody>
|
101
|
-
</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailButtonBlock" style="min-width:100%;">
|
102
|
-
<tbody class="muMailButtonBlockOuter">
|
103
|
-
<tr>
|
104
|
-
<td style="padding-top:0; padding-right:18px; padding-bottom:18px; padding-left:18px;" valign="top" align="center" class="muMailButtonBlockInner">
|
105
|
-
<table border="0" cellpadding="0" cellspacing="0" class="muMailButtonContentContainer" style="border-collapse: separate !important;border-radius: 3px;background-color: #FF5B81;">
|
106
|
-
<tbody>
|
107
|
-
<tr>
|
108
|
-
<td align="center" valign="middle" class="muMailButtonContent" style="font-family: Helvetica; font-size: 18px; padding: 18px;">
|
109
|
-
<a class="muMailButton " title=<%= t :my_profile %> href=<%= @organization.url_for('/user') %> target="_self" style="font-weight: bold;letter-spacing: -0.5px;line-height: 100%;text-align: center;text-decoration: none;color: #FFFFFF;"><%= t :my_profile %></a>
|
110
|
-
</td>
|
111
|
-
</tr>
|
112
|
-
</tbody>
|
113
|
-
</table>
|
114
|
-
</td>
|
115
|
-
</tr>
|
116
|
-
</tbody>
|
117
|
-
</table></td>
|
118
|
-
</tr>
|
119
|
-
</tbody></table>
|
120
|
-
<!--[if (gte mso 9)|(IE)]>
|
121
|
-
</td>
|
122
|
-
</tr>
|
123
|
-
</table>
|
124
|
-
<![endif]-->
|
125
|
-
</td>
|
126
|
-
</tr>
|
127
|
-
<tr>
|
128
|
-
<td align="center" valign="top" id="templateFooter" data-template-container="">
|
129
|
-
<!--[if (gte mso 9)|(IE)]>
|
130
|
-
<table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
|
131
|
-
<tr>
|
132
|
-
<td align="center" valign="top" width="600" style="width:600px;">
|
133
|
-
<![endif]-->
|
134
|
-
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer">
|
135
|
-
<tbody><tr>
|
136
|
-
<td valign="top" class="footerContainer"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailFollowBlock" style="min-width:100%;">
|
137
|
-
<tbody class="muMailFollowBlockOuter">
|
138
|
-
<tr>
|
139
|
-
<td align="center" valign="top" style="padding:9px" class="muMailFollowBlockInner">
|
140
|
-
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailFollowContentContainer" style="min-width:100%;">
|
141
|
-
<tbody><tr>
|
142
|
-
<td align="center" style="padding-left:9px;padding-right:9px;">
|
143
|
-
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width:100%;" class="muMailFollowContent">
|
144
|
-
<tbody><tr>
|
145
|
-
<td align="center" valign="top" style="padding-top:9px; padding-right:9px; padding-left:9px;">
|
146
|
-
<table align="center" border="0" cellpadding="0" cellspacing="0">
|
147
|
-
<tbody><tr>
|
148
|
-
<td align="center" valign="top">
|
149
|
-
<!--[if mso]>
|
150
|
-
<table align="center" border="0" cellspacing="0" cellpadding="0">
|
151
|
-
<tr>
|
152
|
-
<![endif]-->
|
153
|
-
|
154
|
-
<!--[if mso]>
|
155
|
-
<td align="center" valign="top">
|
156
|
-
<![endif]-->
|
157
|
-
|
158
|
-
|
159
|
-
<table align="left" border="0" cellpadding="0" cellspacing="0" style="display:inline;">
|
160
|
-
<tbody><tr>
|
161
|
-
<td valign="top" style="padding-right:10px; padding-bottom:9px;" class="muMailFollowContentItemContainer">
|
162
|
-
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailFollowContentItem">
|
163
|
-
<tbody><tr>
|
164
|
-
<td align="left" valign="middle" style="padding-top:5px; padding-right:10px; padding-bottom:5px; padding-left:9px;">
|
165
|
-
<table align="left" border="0" cellpadding="0" cellspacing="0" width="">
|
166
|
-
<tbody><tr>
|
167
|
-
|
168
|
-
<td align="center" valign="middle" width="24" class="muMailFollowIconContent">
|
169
|
-
<a href="http://www.facebook.com/MumukiOrg" target="_blank"><img src="https://cdn-images.mailchimp.com/icons/social-block-v2/outline-light-facebook-48.png" style="display:block;" height="24" width="24" class=""></a>
|
170
|
-
</td>
|
171
|
-
|
172
|
-
|
173
|
-
</tr>
|
174
|
-
</tbody></table>
|
175
|
-
</td>
|
176
|
-
</tr>
|
177
|
-
</tbody></table>
|
178
|
-
</td>
|
179
|
-
</tr>
|
180
|
-
</tbody></table>
|
181
|
-
|
182
|
-
<!--[if mso]>
|
183
|
-
</td>
|
184
|
-
<![endif]-->
|
185
|
-
|
186
|
-
<!--[if mso]>
|
187
|
-
<td align="center" valign="top">
|
188
|
-
<![endif]-->
|
189
|
-
|
190
|
-
|
191
|
-
<table align="left" border="0" cellpadding="0" cellspacing="0" style="display:inline;">
|
192
|
-
<tbody><tr>
|
193
|
-
<td valign="top" style="padding-right:10px; padding-bottom:9px;" class="muMailFollowContentItemContainer">
|
194
|
-
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailFollowContentItem">
|
195
|
-
<tbody><tr>
|
196
|
-
<td align="left" valign="middle" style="padding-top:5px; padding-right:10px; padding-bottom:5px; padding-left:9px;">
|
197
|
-
<table align="left" border="0" cellpadding="0" cellspacing="0" width="">
|
198
|
-
<tbody><tr>
|
199
|
-
|
200
|
-
<td align="center" valign="middle" width="24" class="muMailFollowIconContent">
|
201
|
-
<a href="http://www.twitter.com/MumukiOrg" target="_blank"><img src="https://cdn-images.mailchimp.com/icons/social-block-v2/outline-light-twitter-48.png" style="display:block;" height="24" width="24" class=""></a>
|
202
|
-
</td>
|
203
|
-
|
204
|
-
|
205
|
-
</tr>
|
206
|
-
</tbody></table>
|
207
|
-
</td>
|
208
|
-
</tr>
|
209
|
-
</tbody></table>
|
210
|
-
</td>
|
211
|
-
</tr>
|
212
|
-
</tbody></table>
|
213
|
-
|
214
|
-
<!--[if mso]>
|
215
|
-
</td>
|
216
|
-
<![endif]-->
|
217
|
-
|
218
|
-
<!--[if mso]>
|
219
|
-
<td align="center" valign="top">
|
220
|
-
<![endif]-->
|
221
|
-
|
222
|
-
|
223
|
-
<table align="left" border="0" cellpadding="0" cellspacing="0" style="display:inline;">
|
224
|
-
<tbody><tr>
|
225
|
-
<td valign="top" style="padding-right:0; padding-bottom:9px;" class="muMailFollowContentItemContainer">
|
226
|
-
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailFollowContentItem">
|
227
|
-
<tbody><tr>
|
228
|
-
<td align="left" valign="middle" style="padding-top:5px; padding-right:10px; padding-bottom:5px; padding-left:9px;">
|
229
|
-
<table align="left" border="0" cellpadding="0" cellspacing="0" width="">
|
230
|
-
<tbody><tr>
|
231
|
-
|
232
|
-
<td align="center" valign="middle" width="24" class="muMailFollowIconContent">
|
233
|
-
<a href="https://www.youtube.com/channel/UCQmkknsaTT2TDLT_-MDSGvQ" target="_blank"><img src="https://cdn-images.mailchimp.com/icons/social-block-v2/outline-light-youtube-48.png" style="display:block;" height="24" width="24" class=""></a>
|
234
|
-
</td>
|
235
|
-
|
236
|
-
|
237
|
-
</tr>
|
238
|
-
</tbody></table>
|
239
|
-
</td>
|
240
|
-
</tr>
|
241
|
-
</tbody></table>
|
242
|
-
</td>
|
243
|
-
</tr>
|
244
|
-
</tbody></table>
|
245
|
-
|
246
|
-
<!--[if mso]>
|
247
|
-
</td>
|
248
|
-
<![endif]-->
|
249
|
-
|
250
|
-
<!--[if mso]>
|
251
|
-
</tr>
|
252
|
-
</table>
|
253
|
-
<![endif]-->
|
254
|
-
</td>
|
255
|
-
</tr>
|
256
|
-
</tbody></table>
|
257
|
-
</td>
|
258
|
-
</tr>
|
259
|
-
</tbody></table>
|
260
|
-
</td>
|
261
|
-
</tr>
|
262
|
-
</tbody></table>
|
263
|
-
|
264
|
-
</td>
|
265
|
-
</tr>
|
266
|
-
</tbody>
|
267
|
-
</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailDividerBlock" style="min-width:100%;">
|
268
|
-
<tbody class="muMailDividerBlockOuter">
|
269
|
-
<tr>
|
270
|
-
<td class="muMailDividerBlockInner" style="min-width:100%; padding:18px;">
|
271
|
-
<table class="muMailDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width: 100%;border-top: 2px solid #505050;">
|
272
|
-
<tbody><tr>
|
273
|
-
<td>
|
274
|
-
<span></span>
|
275
|
-
</td>
|
276
|
-
</tr>
|
277
|
-
</tbody></table>
|
278
|
-
<!--
|
279
|
-
<td class="muMailDividerBlockInner" style="padding: 18px;">
|
280
|
-
<hr class="muMailDividerContent" style="border-bottom-color:none; border-left-color:none; border-right-color:none; border-bottom-width:0; border-left-width:0; border-right-width:0; margin-top:0; margin-right:0; margin-bottom:0; margin-left:0;" />
|
281
|
-
-->
|
282
|
-
</td>
|
283
|
-
</tr>
|
284
|
-
</tbody>
|
285
|
-
</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="muMailTextBlock" style="min-width:100%;">
|
286
|
-
<tbody class="muMailTextBlockOuter">
|
287
|
-
<tr>
|
288
|
-
<td valign="top" class="muMailTextBlockInner" style="padding-top:9px;">
|
289
|
-
<!--[if mso]>
|
290
|
-
<table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;">
|
291
|
-
<tr>
|
292
|
-
<![endif]-->
|
293
|
-
|
294
|
-
<!--[if mso]>
|
295
|
-
<td valign="top" width="600" style="width:600px;">
|
296
|
-
<![endif]-->
|
297
|
-
<table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width:100%; min-width:100%;" width="100%" class="muMailTextContentContainer">
|
298
|
-
<tbody><tr>
|
299
|
-
|
300
|
-
<td valign="top" class="muMailTextContent" style="padding-top:0; padding-right:18px; padding-bottom:9px; padding-left:18px;">
|
301
|
-
|
302
|
-
© Copyright 2015-<%= Time.current.year %> <a href="https://mumuki.org/home/">Mumuki</a><em>.</em><br>
|
303
|
-
<br>
|
304
|
-
<%= t :stop_emails? %><br>
|
305
|
-
<%= link_to t(:cancel_subscription), @organization.url_for("/user/unsubscribe?id=#{@unsubscribe_code}"), target: :_blank %>
|
306
|
-
</td>
|
307
|
-
</tr>
|
308
|
-
</tbody></table>
|
309
|
-
<!--[if mso]>
|
310
|
-
</td>
|
311
|
-
<![endif]-->
|
312
|
-
|
313
|
-
<!--[if mso]>
|
314
|
-
</tr>
|
315
|
-
</table>
|
316
|
-
<![endif]-->
|
317
|
-
</td>
|
318
|
-
</tr>
|
319
|
-
</tbody>
|
320
|
-
</table></td>
|
321
|
-
</tr>
|
322
|
-
</tbody></table>
|
323
|
-
<!--[if (gte mso 9)|(IE)]>
|
324
|
-
</td>
|
325
|
-
</tr>
|
326
|
-
</table>
|
327
|
-
<![endif]-->
|
328
|
-
</td>
|
329
|
-
</tr>
|
330
|
-
</tbody></table>
|
331
|
-
<!-- // END TEMPLATE -->
|
332
|
-
</td>
|
333
|
-
</tr>
|
334
|
-
</tbody></table>
|
335
|
-
</center>
|
1
|
+
<%= render partial: 'user_mailer/mail_template', locals: {
|
2
|
+
title: t(:congratulations),
|
3
|
+
subtitle: t(:certificate_available),
|
4
|
+
text: t(:certificate_download),
|
5
|
+
button: t(:my_profile),
|
6
|
+
url: @organization.url_for('/user/certificates')
|
7
|
+
} %>
|