diff --git a/emails/src/partials/project-team.html b/emails/src/partials/project-team.html index f5dbb21..f292f69 100644 --- a/emails/src/partials/project-team.html +++ b/emails/src/partials/project-team.html @@ -105,23 +105,51 @@ - + + {{else}} - {{#if notifications.[0].[isSSO]}} - - SSO Login - - {{else}} - - View project on Connect - - {{/if}} + + + {{/if}} - + {{else}} + + {{/if}}
- {{#if notifications.[0].[connect.notification.project.member.invite.requested]}} - - Manage project team - + {{#if notifications.[0].[connect.notification.project.member.invite.created]}} + {{#if notifications.[0].[isSSO]}} + + + Join Project + + + + Decline + + + + Join Project + + + + Decline + + + {{#if notifications.[0].[connect.notification.project.member.invite.requested]}} + + Manage project team + + {{else}} + {{#if notifications.[0].[isSSO]}} + + SSO Login + + {{else}} + + View project on Connect + + {{/if}} + {{/if}} +
diff --git a/emails/src/styles/main.css b/emails/src/styles/main.css index a73295c..0a8dc9c 100644 --- a/emails/src/styles/main.css +++ b/emails/src/styles/main.css @@ -148,6 +148,9 @@ table.container, table.footer-container { height: 15px; background-color: #FFFFFF; } +.empty-child-10 { + width: 10px; } + .post-details .main-child { background-color: #FFFFFF; } .post-details .main-child .empty-child-one { @@ -220,6 +223,12 @@ table.container, table.footer-container { text-align: center; color: #FFFFFF; font-size: 13px; } + .button-row .main-child .second-child.project-team.decline-sec { + background-color: #FFFFFF; } + .button-row .main-child .second-child.project-team a.decline-btn { + color: #555555; + border: 1px solid #808080; + background-color: #FFFFFF; } .button-one .main-child .empty-child-one, .button-three .main-child .empty-child-one { width: 216px; } diff --git a/emails/src/styles/modules/_color.scss b/emails/src/styles/modules/_color.scss index 96cbe42..f1fdc36 100644 --- a/emails/src/styles/modules/_color.scss +++ b/emails/src/styles/modules/_color.scss @@ -8,3 +8,4 @@ $grey-color: #888894; $blue-color: #006DEA; $grey-hyperlink: #808080; $button-color: #0681FF; +$tc-gray-70: #555555; diff --git a/emails/src/styles/partials/_base.scss b/emails/src/styles/partials/_base.scss index a3f28e6..d1d1d1a 100644 --- a/emails/src/styles/partials/_base.scss +++ b/emails/src/styles/partials/_base.scss @@ -206,6 +206,10 @@ table.container, table.footer-container { } } +.empty-child-10 { + width: 10px; +} + // emptys end // post details @@ -321,6 +325,18 @@ table.container, table.footer-container { color: $white-background; font-size: 13px; } + &.project-team { + &.decline-sec { + background-color: $white-background; + } + a { + &.decline-btn { + color: $tc-gray-70; + border: 1px solid $grey-hyperlink; + background-color: $white-background; + } + } + } } } }