diff options
author | Jonathan <jonfritz@gmail.com> | 2017-08-05 19:52:35 -0400 |
---|---|---|
committer | Saturnino Abril <saturnino.abril@gmail.com> | 2017-08-06 07:52:35 +0800 |
commit | 178ccd16cba26144eac404f413440867b360033c (patch) | |
tree | 5a2304ee8fbe7586d4101b7e38cd85756e114a05 /templates/post_batched_post_full.html | |
parent | 9f3713aa98011596a62315fd3b96fa2e77044081 (diff) | |
download | chat-178ccd16cba26144eac404f413440867b360033c.tar.gz chat-178ccd16cba26144eac404f413440867b360033c.tar.bz2 chat-178ccd16cba26144eac404f413440867b360033c.zip |
System Console: Email notification content setting (#7122)
* PLT-7195: Added new config option, new license feature, and config UI to system console. Still need to implement behaviour change in email batching code
* PLT-7195: Modified batch emails to respect email notification content type setting
* PLT-7195: Tweaking the colours a bit
* PLT-7195: Added support for email notification content type setting in immediate (non-batched) notification messages. Attempted to clean up the code somewhat. Unit tests coming in a future commit
* PLT-7195: Added unit tests for non-batched emails
* Checked license when applying email content settings
* Changed return type of getFormattedPostTime
Diffstat (limited to 'templates/post_batched_post_full.html')
-rw-r--r-- | templates/post_batched_post_full.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/templates/post_batched_post_full.html b/templates/post_batched_post_full.html new file mode 100644 index 000000000..7e12da46e --- /dev/null +++ b/templates/post_batched_post_full.html @@ -0,0 +1,38 @@ +{{define "post_batched_post_full"}} + +<style type="text/css"> + @media screen and (max-width: 480px){ + a[class="post_btn"] { + float: none !important; + } + } +</style> + +<table style="border-top: 1px solid #ddd; padding: 20px 0; width: 100%"> + <tr> + <td style="text-align: left"> + <span style="font-size: 16px; font-weight: bold; color: #555; margin: 0 0 5px; display: inline-block;" > + {{.Props.ChannelName}} + </span> + <br/> + <div style="margin: 5px 0 0;"> + <span style="font-weight: bold; white-space: nowrap;"> + @{{.Props.SenderName}} + </span> + <span style="color: #AAA; font-size: 12px; margin-left: 2px;"> + {{.Props.Date}} + </span> + </div> + </td> + </tr> + <tr> + <td colspan=2> + <pre style="text-align:left; font-family: 'Lato', sans-serif; margin: 0px; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; line-height: 20px;">{{.Props.PostMessage}}</pre> + <a class="post_btn" href="{{.Props.PostLink}}" style="font-size: 13px; background: #2389D7; display: inline-block; border-radius: 2px; color: #fff; padding: 6px 0; width: 120px; text-decoration: none; float:left; text-align: center; margin: 15px 0 5px;"> + {{.Props.Button}} + </a> + </td> + </tr> +</table> + +{{end}} |