Sfoglia il codice sorgente

Make whole 'red button' in email a link

Shane Kilkelly 10 anni fa
parent
commit
85f49d6c9c

+ 1 - 5
services/web/app/coffee/Features/Email/EmailBuilder.coffee

@@ -94,15 +94,11 @@ templates.projectInvite =
 	compiledTemplate: _.template """
 <p>Hi, <%= owner.email %> wants to share <a href="<%= project.url %>">'<%= project.name %>'</a> with you</p>
 <center>
-	<div style="width:200px;background-color:#a93629;border:1px solid #e24b3b;border-radius:3px;padding:15px; margin:24px;">
-		<div style="padding-right:10px;padding-left:10px">
-			<a href="<%= inviteUrl %>" style="text-decoration:none" target="_blank">
+			<a style="text-decoration: none; width: 200px; background-color: #a93629; border: 1px solid #e24b3b; border-radius: 3px; padding: 15px; margin: 24px; display: block;" href="<%= inviteUrl %>" style="text-decoration:none" target="_blank">
 				<span style= "font-size:16px;font-family:Helvetica,Arial;font-weight:400;color:#fff;white-space:nowrap;display:block; text-align:center">
 					View Project
 				</span>
 			</a>
-		</div>
-	</div>
 </center>
 <p> Thank you</p>
 <p> <a href="<%= siteUrl %>">#{settings.appName}</a></p>