-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feauture-2619/simplify-the-layout-of-the-…
…review-periods-page
- Loading branch information
Showing
16 changed files
with
503 additions
and
289 deletions.
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
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
271 changes: 155 additions & 116 deletions
271
...a/com/objectcomputing/checkins/services/feedback_request/FeedbackRequestServicesImpl.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,10 @@ | ||
# Templates | ||
|
||
Place MJML templates here. If they are going to be used within a call to `String.format()`, be sure to double up on any percent signs (i.e., `width="100%%"`). | ||
|
||
### Micronaut Usage | ||
|
||
```java | ||
@Value("classpath:mjml/feedback_request.mjml") | ||
private Readable feedbackRequestTemplate; | ||
``` |
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,36 @@ | ||
<mjml> | ||
<mj-head> | ||
<mj-title>Feedback Request</mj-title> | ||
<mj-preview>Feedback Request</mj-preview> | ||
<mj-attributes> | ||
<mj-class name="preheader" color="#000000" font-size="11px" font-family="Ubuntu, Helvetica, Arial, sans-serif" padding="0px"></mj-class> | ||
</mj-attributes> | ||
</mj-head> | ||
<mj-body background-color="#e0f2ff"> | ||
<mj-section background-color="#2559a7"> | ||
<mj-column> | ||
<mj-image src="https://objectcomputing.com/files/6416/4277/8012/ObjectComputingLogo_version2_white.png" alt="logo" width="150px"></mj-image> | ||
</mj-column> | ||
</mj-section> | ||
<mj-hero mode="fluid-height" background-url="https://lh3.googleusercontent.com/pw/AL9nZEXvzBSrNroLHtqfW8W5_oM296XY7FPJqz15RNP3RBcf_XEkyZ0gn5JVkDCSTWA-loYTeVL5c-ycoAEOh_3dFBpPju1UmfGt7tLPCMFQdf5IVeHipmhyOV4fZnCWSl0n-b3tsHB4THfub4Mtknvz8R4t=w900-h600-no" background-color="#FFF" padding="100px 0px"> | ||
<mj-text padding="20px" font-family="Helvetica" align="center" font-size="45px" line-height="45px" font-weight="900"> Give Your Feedback! </mj-text> | ||
|
||
</mj-hero> | ||
<mj-section background-color="#ffffff"> | ||
<mj-column> | ||
<mj-text> | ||
<h2>You have received a feedback request.</h2> | ||
</mj-text> | ||
<mj-text font-size="16px">Hello, %s!</mj-text> | ||
<mj-text font-size="16px"><strong>%s</strong> is requesting feedback %sfrom you.</mj-text> | ||
<mj-text font-size="16px">%s</mj-text> | ||
<mj-text font-size="16px">Please go to <a href="%s">your unique link</a> to complete this request.</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
<mj-section background-color="#feb672" padding="10px"> | ||
<mj-column vertical-align="top" width="100%%"> | ||
<mj-text align="center" color="#FFF" font-size="16px">Thank you for everything you do!</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
</mj-body> | ||
</mjml> |
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,11 @@ | ||
<mjml> | ||
<mj-body> | ||
<mj-section> | ||
<mj-column> | ||
<mj-divider border-color="#2559a7"></mj-divider> | ||
<mj-text font-size="16px" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" color="#4d4c4f">Please fill out your Pulse survey, if you haven't already done so. We want to know how you're doing!</mj-text> | ||
<mj-text font-size="16px" font-family="'Helvetica Neue', Helvetica, Arial, sans-serif" color="#4d4c4f">Click <a href="%s/pulse" target="_blank">here</a> to begin.</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
</mj-body> | ||
</mjml> |
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,35 @@ | ||
<mjml> | ||
<mj-head> | ||
<mj-title>Self-Review Completion</mj-title> | ||
<mj-preview>Self-Reviews Completion for Reviewer</mj-preview> | ||
<mj-attributes> | ||
<mj-class name="preheader" color="#000000" font-size="11px" font-family="Ubuntu, Helvetica, Arial, sans-serif" padding="0px"></mj-class> | ||
</mj-attributes> | ||
</mj-head> | ||
<mj-body background-color="#e0f2ff"> | ||
<mj-section background-color="#2559a7"> | ||
<mj-column> | ||
<mj-image src="https://objectcomputing.com/files/6416/4277/8012/ObjectComputingLogo_version2_white.png" alt="logo" width="150px"></mj-image> | ||
</mj-column> | ||
</mj-section> | ||
<mj-hero mode="fluid-height" background-url="https://lh3.googleusercontent.com/pw/AL9nZEXvzBSrNroLHtqfW8W5_oM296XY7FPJqz15RNP3RBcf_XEkyZ0gn5JVkDCSTWA-loYTeVL5c-ycoAEOh_3dFBpPju1UmfGt7tLPCMFQdf5IVeHipmhyOV4fZnCWSl0n-b3tsHB4THfub4Mtknvz8R4t=w900-h600-no" background-color="#FFF" padding="100px 0px"> | ||
<mj-text padding="20px" font-family="Helvetica" align="center" font-size="45px" line-height="45px" font-weight="900"> It's Your Turn! </mj-text> | ||
|
||
</mj-hero> | ||
<mj-section background-color="#ffffff"> | ||
<mj-column> | ||
<mj-text> | ||
<h2>It's time to begin your review of %s</h2> | ||
</mj-text> | ||
<mj-text font-size="16px">Hello, %s!</mj-text> | ||
<mj-text font-size="16px">%s has completed their self-review and it can be viewed <a href="%s">here</a>.</mj-text> <mj-text font-size="16px">It's your turn to share your thoughts and complete your review. Please complete your review before %s. </strong></mj-text> | ||
|
||
</mj-column> | ||
</mj-section> | ||
<mj-section background-color="#feb672" padding="10px"> | ||
<mj-column vertical-align="top" width="100%%"> | ||
<mj-text align="center" color="#FFF" font-size="16px">Thank you for everything you do!</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
</mj-body> | ||
</mjml> |
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,35 @@ | ||
<mjml> | ||
<mj-head> | ||
<mj-title>Self-Review Completion</mj-title> | ||
<mj-preview>Self-Reviews Completion for Supervisor</mj-preview> | ||
<mj-attributes> | ||
<mj-class name="preheader" color="#000000" font-size="11px" font-family="Ubuntu, Helvetica, Arial, sans-serif" padding="0px"></mj-class> | ||
</mj-attributes> | ||
</mj-head> | ||
<mj-body background-color="#e0f2ff"> | ||
<mj-section background-color="#2559a7"> | ||
<mj-column> | ||
<mj-image src="https://objectcomputing.com/files/6416/4277/8012/ObjectComputingLogo_version2_white.png" alt="logo" width="150px"></mj-image> | ||
</mj-column> | ||
</mj-section> | ||
<mj-hero mode="fluid-height" background-url="https://lh3.googleusercontent.com/pw/AL9nZEXvzBSrNroLHtqfW8W5_oM296XY7FPJqz15RNP3RBcf_XEkyZ0gn5JVkDCSTWA-loYTeVL5c-ycoAEOh_3dFBpPju1UmfGt7tLPCMFQdf5IVeHipmhyOV4fZnCWSl0n-b3tsHB4THfub4Mtknvz8R4t=w900-h600-no" background-color="#FFF" padding="100px 0px"> | ||
<mj-text padding="20px" font-family="Helvetica" align="center" font-size="45px" line-height="45px" font-weight="900"> Self-Review Completion </mj-text> | ||
|
||
</mj-hero> | ||
<mj-section background-color="#ffffff"> | ||
<mj-column> | ||
<mj-text> | ||
<h2>Your team member has completed their self-review!</h2> | ||
</mj-text> | ||
<mj-text font-size="16px">Hello, %s!</mj-text> | ||
<mj-text font-size="16px">%s has completed their self-review. You can view it <a href="%s">here</a>.</mj-text> | ||
|
||
</mj-column> | ||
</mj-section> | ||
<mj-section background-color="#feb672" padding="10px"> | ||
<mj-column vertical-align="top" width="100%%"> | ||
<mj-text align="center" color="#FFF" font-size="16px">Thank you for everything you do!</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
</mj-body> | ||
</mjml> |
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,36 @@ | ||
<mjml> | ||
<mj-head> | ||
<mj-title>Feedback Request Reopened</mj-title> | ||
<mj-preview>Feedback Request Reopened</mj-preview> | ||
<mj-attributes> | ||
<mj-class name="preheader" color="#000000" font-size="11px" font-family="Ubuntu, Helvetica, Arial, sans-serif" padding="0px"></mj-class> | ||
</mj-attributes> | ||
</mj-head> | ||
<mj-body background-color="#e0f2ff"> | ||
<mj-section background-color="#2559a7"> | ||
<mj-column> | ||
<mj-image src="https://objectcomputing.com/files/6416/4277/8012/ObjectComputingLogo_version2_white.png" alt="logo" width="150px"></mj-image> | ||
</mj-column> | ||
</mj-section> | ||
<mj-hero mode="fluid-height" background-url="https://lh3.googleusercontent.com/pw/AL9nZEXvzBSrNroLHtqfW8W5_oM296XY7FPJqz15RNP3RBcf_XEkyZ0gn5JVkDCSTWA-loYTeVL5c-ycoAEOh_3dFBpPju1UmfGt7tLPCMFQdf5IVeHipmhyOV4fZnCWSl0n-b3tsHB4THfub4Mtknvz8R4t=w900-h600-no" background-color="#FFF" padding="100px 0px"> | ||
<mj-text padding="20px" font-family="Helvetica" align="center" font-size="45px" line-height="45px" font-weight="900"> Edit Your Feedback! </mj-text> | ||
|
||
</mj-hero> | ||
<mj-section background-color="#ffffff"> | ||
<mj-column> | ||
<mj-text> | ||
<h2>You have received edit access to a feedback request.</h2> | ||
</mj-text> | ||
<mj-text font-size="16px">Hello, %s!</mj-text> | ||
<mj-text font-size="16px"><strong>%s has reopened the feedback request on %s from you.</strong></mj-text> | ||
<mj-text font-size="16px">You may make changes to your answers, but you will need to submit the form again when finished.</mj-text> | ||
<mj-text font-size="16px">Please go to <a href="%s">your unique link</a> to complete this request.</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
<mj-section background-color="#feb672" padding="10px"> | ||
<mj-column vertical-align="top" width="100%%"> | ||
<mj-text align="center" color="#FFF" font-size="16px">Thank you for everything you do!</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
</mj-body> | ||
</mjml> |
Oops, something went wrong.