-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MDS-5836] trigger notification report requested #3087
Merged
isuru-aot
merged 3 commits into
develop
from
mds-5836-trigger-notification-report-requested
May 10, 2024
Merged
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
152 changes: 152 additions & 0 deletions
152
services/core-api/app/templates/email/report/ms_new_report_requested_email.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
<html> | ||
|
||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<style> | ||
@media only screen and (max-width: 620px) { | ||
|
||
table.body .wrapper, | ||
s table.body .article { | ||
padding: 10px !important; | ||
} | ||
|
||
table.body .content { | ||
padding: 0 !important; | ||
} | ||
|
||
table.body .container { | ||
padding: 0 !important; | ||
width: 100% !important; | ||
} | ||
|
||
table.body .main { | ||
border-left-width: 0 !important; | ||
border-radius: 0 !important; | ||
border-right-width: 0 !important; | ||
} | ||
|
||
table.body .btn table { | ||
width: 100% !important; | ||
} | ||
|
||
table.body .btn a { | ||
width: 100% !important; | ||
} | ||
|
||
table.body .img-responsive { | ||
height: auto !important; | ||
max-width: 100% !important; | ||
width: auto !important; | ||
} | ||
} | ||
</style> | ||
</head> | ||
|
||
<body | ||
style="background-color: #ffffff; font-family: sans-serif; -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.4; margin: 0; padding: 0; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;"> | ||
<table role="presentation" cellpadding="0" cellspacing="0" class="body" | ||
style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #ffffff; width: 100%;" | ||
width="100%"> | ||
<tr> | ||
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> </td> | ||
<td class="container" | ||
style="font-family: sans-serif; font-size: 14px; vertical-align: top; display: block; max-width: 580px; padding: 10px; width: 580px; margin: 0 auto;" | ||
width="580" valign="top"> | ||
<div class="content" | ||
style="box-sizing: border-box; display: block; margin: 0 auto; max-width: 580px; padding: 10px;"> | ||
<div class="content-block" | ||
style="font-family: sans-serif; vertical-align: top; padding-bottom: 36px; padding-top: 10px; font-size: 12px; text-align: center;" | ||
valign="top"> | ||
<img src="{{minespace_logo}}" width="60%" style="object-fit: contain;"> | ||
</div> | ||
<!-- START CENTERED WHITE CONTAINER --> | ||
<table role="presentation" class="main" | ||
style=" border-width:1px; border-style:solid; border-color:#DED9D9; border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background: #ffffff; border-radius: 3px; width: 100%;" | ||
width="100%"> | ||
|
||
<!-- START MAIN CONTENT AREA --> | ||
<tr> | ||
<td class="wrapper" style="vertical-align: top; box-sizing: border-box; padding: 20px;" valign="top"> | ||
<table role="presentation" cellpadding="0" cellspacing="0" | ||
style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" | ||
width="100%"> | ||
<tr> | ||
<td style="vertical-align: top; text-align: center; font-family: sans-serif; font-size: 24px; font-weight: 700; line-height: 30px; color: #003366; padding: 10px 0px 16px;" | ||
valign="top"> | ||
A report has been requested in MineSpace | ||
</td> | ||
</tr> | ||
<tr> | ||
<td style="vertical-align: top; text-align:center; font-family: sans-serif; font-size: 16px; font-weight: 400; line-height: 20px; color: #6B6363; margin: 0; margin-bottom: 15px;" | ||
valign="top"> | ||
<p style="text-align: center; margin-top: 16px;"> | ||
To view more information about this submission please | ||
<a href="{{minespace_login_link}}">log into the Minespace application.</a> | ||
</p> | ||
<p> | ||
Mine Name: {{ report_request.mine_name }} | ||
<br/> | ||
Mine Number: {{report_request.mine_number}} | ||
</p> | ||
<p> | ||
{{report_request.permit_info_label}} {{report_request.permit_info_value}} <br/> | ||
Report Name: {{report_request.report_name}} | ||
</p> | ||
<p> | ||
Compliance Year: {{ report_request.report_compliance_year }} <br> | ||
Due Date: {{ report_request.report_due_date }} | ||
</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<div style="text-align:center; padding-top: 32px;"> | ||
<a href="{{ ms_report_page_link }}" type="button" | ||
style="border: solid 1px #003366; border-radius: 5px; box-sizing: border-box; cursor: pointer; display: inline-block; font-size: 14px; font-weight: bold; margin: 0; padding: 12px 25px; text-decoration: none; text-transform: capitalize; background-color: #003366; border-color: #003366; color: #ffffff;"> | ||
Submit Report | ||
</a> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</td> | ||
</tr> | ||
|
||
<!-- END MAIN CONTENT AREA --> | ||
</table> | ||
<!-- END CENTERED WHITE CONTAINER --> | ||
|
||
<!-- START FOOTER --> | ||
<div class="footer" style="clear: both; margin-top: 10px; text-align: center; width: 100%;"> | ||
<table role="presentation" cellpadding="0" cellspacing="0" | ||
style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" | ||
width="100%"> | ||
<tr> | ||
<td class="content-block" | ||
style="font-family: sans-serif; vertical-align: top; padding-bottom: 10px; padding-top: 16px; font-size: 12px; text-align: center;" | ||
valign="top"> | ||
<p | ||
style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; margin-bottom: 15px; font-weight: 400; line-height: 20px;"> | ||
Please note: This e-mail was sent from a notification-only address that cannot accept incoming | ||
e-mail. Please do not reply to this message.</p> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td class="content-block" | ||
style="font-family: sans-serif; vertical-align: top; padding-bottom: 10px; padding-top: 10px; font-size: 12px; text-align: center;" | ||
valign="top"> | ||
</tr> | ||
</td> | ||
</table> | ||
</div> | ||
<!-- END FOOTER --> | ||
|
||
</div> | ||
</td> | ||
<td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> </td> | ||
</tr> | ||
</table> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matbusby-fw need your approval again for this.