|
105 | 105 | <table class="main-child"> |
106 | 106 | <tr> |
107 | 107 | <td class="empty-child-one"></td> |
108 | | - <td class="second-child" align="center"> |
109 | | - {{#if notifications.[0].[connect.notification.project.member.invite.requested]}} |
110 | | - <a href="{{@root.connectURL}}/projects/{{notifications.[0].projectId}}#manageTopcoderTeam"> |
111 | | - Manage project team |
112 | | - </a> |
| 108 | + {{#if notifications.[0].[connect.notification.project.member.invite.created]}} |
| 109 | + {{#if notifications.[0].[isSSO]}} |
| 110 | + <td class="second-child project-team" align="center"> |
| 111 | + <a href="{{@root.accountsAppURL}}/sso-login/?app=connect&retUrl={{@root.connectURL}}/projects/{{notifications.[0].projectId}}%3Finvitation%3Daccept"> |
| 112 | + Join Project |
| 113 | + </a> |
| 114 | + </td> |
| 115 | + <td class="empty-child-10"></td> |
| 116 | + <td class="second-child project-team decline-sec" align="center"> |
| 117 | + <a class="decline-btn" href="{{@root.accountsAppURL}}/sso-login/?app=connect&retUrl={{@root.connectURL}}/projects/{{notifications.[0].projectId}}%3Finvitation%3Ddecline"> |
| 118 | + Decline |
| 119 | + </a> |
| 120 | + </td> |
113 | 121 | {{else}} |
114 | | - {{#if notifications.[0].[isSSO]}} |
115 | | - <a href="{{@root.accountsAppURL}}/sso-login/?app=connect&retUrl={{@root.connectURL}}/projects/{{notifications.[0].projectId}}"> |
116 | | - SSO Login |
117 | | - </a> |
118 | | - {{else}} |
119 | | - <a href="{{@root.connectURL}}/projects/{{notifications.[0].projectId}}"> |
120 | | - View project on Connect |
121 | | - </a> |
122 | | - {{/if}} |
| 122 | + <td class="second-child project-team" align="center"> |
| 123 | + <a href="{{@root.connectURL}}/projects/{{notifications.[0].projectId}}?invitation=accept"> |
| 124 | + Join Project |
| 125 | + </a> |
| 126 | + </td> |
| 127 | + <td class="empty-child-10"></td> |
| 128 | + <td class="second-child project-team decline-sec" align="center"> |
| 129 | + <a class="decline-btn" href="{{@root.connectURL}}/projects/{{notifications.[0].projectId}}?invitation=decline"> |
| 130 | + Decline |
| 131 | + </a> |
| 132 | + </td> |
123 | 133 | {{/if}} |
124 | | - </td> |
| 134 | + {{else}} |
| 135 | + <td class="second-child project-team" align="center"> |
| 136 | + {{#if notifications.[0].[connect.notification.project.member.invite.requested]}} |
| 137 | + <a href="{{@root.connectURL}}/projects/{{notifications.[0].projectId}}#manageTopcoderTeam"> |
| 138 | + Manage project team |
| 139 | + </a> |
| 140 | + {{else}} |
| 141 | + {{#if notifications.[0].[isSSO]}} |
| 142 | + <a href="{{@root.accountsAppURL}}/sso-login/?app=connect&retUrl={{@root.connectURL}}/projects/{{notifications.[0].projectId}}"> |
| 143 | + SSO Login |
| 144 | + </a> |
| 145 | + {{else}} |
| 146 | + <a href="{{@root.connectURL}}/projects/{{notifications.[0].projectId}}"> |
| 147 | + View project on Connect |
| 148 | + </a> |
| 149 | + {{/if}} |
| 150 | + {{/if}} |
| 151 | + </td> |
| 152 | + {{/if}} |
125 | 153 | <td class="empty-child-one"></td> |
126 | 154 | </tr> |
127 | 155 | </table> |
|
0 commit comments