فهرست منبع

Small wording changes

Shane Kilkelly 10 سال پیش
والد
کامیت
e7251aab53

+ 7 - 8
services/web/app/coffee/Features/Email/EmailBuilder.coffee

@@ -7,7 +7,7 @@ settings = require("settings-sharelatex")
 
 
 templates = {}
 templates = {}
 
 
-templates.registered =	
+templates.registered =
 	subject:  _.template "Activate your #{settings.appName} Account"
 	subject:  _.template "Activate your #{settings.appName} Account"
 	layout: PersonalEmailLayout
 	layout: PersonalEmailLayout
 	type: "notification"
 	type: "notification"
@@ -19,7 +19,7 @@ templates.registered =
 <p>If you have any questions or problems, please contact <a href="mailto:#{settings.adminEmail}">#{settings.adminEmail}</a>.</p>
 <p>If you have any questions or problems, please contact <a href="mailto:#{settings.adminEmail}">#{settings.adminEmail}</a>.</p>
 """
 """
 
 
-templates.canceledSubscription = 
+templates.canceledSubscription =
 	subject:  _.template "ShareLaTeX thoughts"
 	subject:  _.template "ShareLaTeX thoughts"
 	layout: PersonalEmailLayout
 	layout: PersonalEmailLayout
 	type:"lifecycle"
 	type:"lifecycle"
@@ -36,7 +36,7 @@ ShareLaTeX Co-founder
 </p>
 </p>
 '''
 '''
 
 
-templates.passwordResetRequested =	
+templates.passwordResetRequested =
 	subject:  _.template "Password Reset - #{settings.appName}"
 	subject:  _.template "Password Reset - #{settings.appName}"
 	layout: NotificationEmailLayout
 	layout: NotificationEmailLayout
 	type:"notification"
 	type:"notification"
@@ -66,7 +66,7 @@ If you didn't request a password reset, let us know.
 <p> <a href="<%= siteUrl %>">#{settings.appName}</a></p>
 <p> <a href="<%= siteUrl %>">#{settings.appName}</a></p>
 """
 """
 
 
-templates.projectSharedWithYou = 
+templates.projectSharedWithYou =
 	subject: _.template "<%= owner.email %> wants to share <%= project.name %> with you"
 	subject: _.template "<%= owner.email %> wants to share <%= project.name %> with you"
 	layout: NotificationEmailLayout
 	layout: NotificationEmailLayout
 	type:"notification"
 	type:"notification"
@@ -88,7 +88,7 @@ templates.projectSharedWithYou =
 """
 """
 
 
 templates.projectInvite =
 templates.projectInvite =
-	subject: _.template "<%= owner.email %> wants to share <%= project.name %> with you"
+	subject: _.template "<%= project.name %> - shared by <%= owner.email %>"
 	layout: NotificationEmailLayout
 	layout: NotificationEmailLayout
 	type:"notification"
 	type:"notification"
 	compiledTemplate: _.template """
 	compiledTemplate: _.template """
@@ -98,7 +98,7 @@ templates.projectInvite =
 		<div style="padding-right:10px;padding-left:10px">
 		<div style="padding-right:10px;padding-left:10px">
 			<a href="<%= inviteUrl %>" style="text-decoration:none" target="_blank">
 			<a 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">
 				<span style= "font-size:16px;font-family:Helvetica,Arial;font-weight:400;color:#fff;white-space:nowrap;display:block; text-align:center">
-					View Invite
+					View Project
 				</span>
 				</span>
 			</a>
 			</a>
 		</div>
 		</div>
@@ -108,7 +108,7 @@ templates.projectInvite =
 <p> <a href="<%= siteUrl %>">#{settings.appName}</a></p>
 <p> <a href="<%= siteUrl %>">#{settings.appName}</a></p>
 """
 """
 
 
-templates.completeJoinGroupAccount = 
+templates.completeJoinGroupAccount =
 	subject: _.template "Verify Email to join <%= group_name %> group"
 	subject: _.template "Verify Email to join <%= group_name %> group"
 	layout: NotificationEmailLayout
 	layout: NotificationEmailLayout
 	type:"notification"
 	type:"notification"
@@ -143,4 +143,3 @@ module.exports =
 			html: template.layout(opts)
 			html: template.layout(opts)
 			type:template.type
 			type:template.type
 		}
 		}
-

+ 3 - 2
services/web/app/views/project/invite/show.jade

@@ -8,7 +8,8 @@ block content
 					.card.project-invite-accept
 					.card.project-invite-accept
 						.page-header.text-centered
 						.page-header.text-centered
 							h1  #{translate("user_wants_you_to_see_project", {username:owner.first_name, projectname:""})}
 							h1  #{translate("user_wants_you_to_see_project", {username:owner.first_name, projectname:""})}
-								em #{project.name}
+								em
+									span.project-name #{project.name} 
 						.row.text-center
 						.row.text-center
 							.col-md-12
 							.col-md-12
 								p
 								p
@@ -25,6 +26,6 @@ block content
 									input(name='token', type='hidden', value="#{invite.token}")
 									input(name='token', type='hidden', value="#{invite.token}")
 									.form-group.text-center
 									.form-group.text-center
 										button.btn.btn-lg.btn-primary(type="submit")
 										button.btn.btn-lg.btn-primary(type="submit")
-											| #{translate("accept_invite")}
+											| #{translate("join_project")}
 									.form-group.text-center
 									.form-group.text-center
 							
 							

+ 5 - 0
services/web/public/stylesheets/app/invite.less

@@ -1,4 +1,9 @@
 .project-invite-accept {
 .project-invite-accept {
+	.page-header {
+		.project-name {
+			white-space: pre;
+		}
+	}
 	form {
 	form {
 		padding-top: 15px;
 		padding-top: 15px;
 	}
 	}