-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[WEB-6420] chore: self-host social icons in project invitation email #8718
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
Changes from all commits
8df880f
157019c
29a2298
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -227,7 +227,7 @@ | |
| <td height="5" width="8" style=" font-size: 5px; line-height: 5px; " > </td> | ||
| </tr> | ||
| <tr> | ||
| <td class="r26-i" style=" font-size: 0px; line-height: 0px; " > <a href="https://github.com/makeplane/plane" target="_blank" style=" color: #0092ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/github_32px.png" width="32" border="0" class="" style=" display: block; width: 100%; " /></a> </td> | ||
| <td class="r26-i" style=" font-size: 0px; line-height: 0px; " > <a href="https://github.com/makeplane/plane" target="_blank" style=" color: #0092ff; text-decoration: underline; " > <img src="{{ current_site }}/static/logos/github_32px.png" width="32" border="0" class="" style=" display: block; width: 100%; " /></a> </td> | ||
|
||
| <td class="nl2go-responsive-hide" width="8" style=" font-size: 0px; line-height: 1px; " > </td> | ||
| </tr> | ||
| <tr class="nl2go-responsive-hide" > | ||
|
|
@@ -244,7 +244,7 @@ | |
| <td height="5" width="8" style=" font-size: 5px; line-height: 5px; " > </td> | ||
| </tr> | ||
| <tr> | ||
| <td class="r26-i" style=" font-size: 0px; line-height: 0px; " > <a href="https://forum.plane.so" target="_blank" style=" color: #0092ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/website_32px.png" width="32" border="0" class="" style=" display: block; width: 100%; " /></a> </td> | ||
| <td class="r26-i" style=" font-size: 0px; line-height: 0px; " > <a href="https://forum.plane.so" target="_blank" style=" color: #0092ff; text-decoration: underline; " > <img src="{{ current_site }}/static/logos/website_32px.png" width="32" border="0" class="" style=" display: block; width: 100%; " /></a> </td> | ||
|
||
| <td class="nl2go-responsive-hide" width="8" style=" font-size: 0px; line-height: 1px; " > </td> | ||
| </tr> | ||
| <tr class="nl2go-responsive-hide" > | ||
|
|
@@ -261,7 +261,7 @@ | |
| <td height="5" width="8" style=" font-size: 5px; line-height: 5px; " > </td> | ||
| </tr> | ||
| <tr> | ||
| <td class="r26-i" style=" font-size: 0px; line-height: 0px; " > <a href="https://twitter.com/planepowers" target="_blank" style=" color: #0092ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/twitter_32px.png" width="32" border="0" class="" style=" display: block; width: 100%; " /></a> </td> | ||
| <td class="r26-i" style=" font-size: 0px; line-height: 0px; " > <a href="https://twitter.com/planepowers" target="_blank" style=" color: #0092ff; text-decoration: underline; " > <img src="{{ current_site }}/static/logos/twitter_32px.png" width="32" border="0" class="" style=" display: block; width: 100%; " /></a> </td> | ||
|
||
| <td class="nl2go-responsive-hide" width="8" style=" font-size: 0px; line-height: 1px; " > </td> | ||
| </tr> | ||
| <tr class="nl2go-responsive-hide" > | ||
|
|
@@ -277,7 +277,7 @@ | |
| <td height="5" style=" font-size: 5px; line-height: 5px; " > </td> | ||
| </tr> | ||
| <tr> | ||
| <td class="r26-i" style=" font-size: 0px; line-height: 0px; " > <a href="https://www.linkedin.com/company/planepowers/" target="_blank" style=" color: #0092ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/linkedin_32px.png" width="32" border="0" class="" style=" display: block; width: 100%; " /></a> </td> | ||
| <td class="r26-i" style=" font-size: 0px; line-height: 0px; " > <a href="https://www.linkedin.com/company/planepowers/" target="_blank" style=" color: #0092ff; text-decoration: underline; " > <img src="{{ current_site }}/static/logos/linkedin_32px.png" width="32" border="0" class="" style=" display: block; width: 100%; " /></a> </td> | ||
|
||
| </tr> | ||
| <tr class="nl2go-responsive-hide" > | ||
| <td height="5" style=" font-size: 5px; line-height: 5px; " > </td> | ||
|
|
||
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.
current_siteis concatenated into absolute URLs in the email template. If it’s configured with a trailing slash, the rendered image URLs will contain//static/...(and the invitation URL already risks//project-invitations/...). Consider normalizing before adding to the context (e.g., stripping any trailing/) so downstream templates can safely append paths.