diff --git a/services/web/app/coffee/Features/Email/EmailBuilder.coffee b/services/web/app/coffee/Features/Email/EmailBuilder.coffee index dab9fda839..ae3ee28253 100644 --- a/services/web/app/coffee/Features/Email/EmailBuilder.coffee +++ b/services/web/app/coffee/Features/Email/EmailBuilder.coffee @@ -7,7 +7,7 @@ settings = require("settings-sharelatex") templates = {} -templates.registered = +templates.registered = subject: _.template "Activate your #{settings.appName} Account" layout: PersonalEmailLayout type: "notification" @@ -19,7 +19,7 @@ templates.registered =
If you have any questions or problems, please contact #{settings.adminEmail}.
""" -templates.canceledSubscription = +templates.canceledSubscription = subject: _.template "ShareLaTeX thoughts" layout: PersonalEmailLayout type:"lifecycle" @@ -36,7 +36,7 @@ ShareLaTeX Co-founder ''' -templates.passwordResetRequested = +templates.passwordResetRequested = subject: _.template "Password Reset - #{settings.appName}" layout: NotificationEmailLayout type:"notification" @@ -66,7 +66,7 @@ If you didn't request a password reset, let us know. """ -templates.projectSharedWithYou = +templates.projectSharedWithYou = subject: _.template "<%= owner.email %> wants to share <%= project.name %> with you" layout: NotificationEmailLayout type:"notification" @@ -88,7 +88,7 @@ templates.projectSharedWithYou = """ templates.projectInvite = - subject: _.template "<%= owner.email %> wants to share <%= project.name %> with you" + subject: _.template "<%= project.name %> - shared by <%= owner.email %>" layout: NotificationEmailLayout type:"notification" compiledTemplate: _.template """ @@ -98,7 +98,7 @@ templates.projectInvite = @@ -108,7 +108,7 @@ templates.projectInvite = """ -templates.completeJoinGroupAccount = +templates.completeJoinGroupAccount = subject: _.template "Verify Email to join <%= group_name %> group" layout: NotificationEmailLayout type:"notification" @@ -143,4 +143,3 @@ module.exports = html: template.layout(opts) type:template.type } - diff --git a/services/web/app/views/project/invite/show.jade b/services/web/app/views/project/invite/show.jade index 158e5309f2..833e75085e 100644 --- a/services/web/app/views/project/invite/show.jade +++ b/services/web/app/views/project/invite/show.jade @@ -8,7 +8,8 @@ block content .card.project-invite-accept .page-header.text-centered 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 .col-md-12 p @@ -25,6 +26,6 @@ block content input(name='token', type='hidden', value="#{invite.token}") .form-group.text-center button.btn.btn-lg.btn-primary(type="submit") - | #{translate("accept_invite")} + | #{translate("join_project")} .form-group.text-center \ No newline at end of file diff --git a/services/web/public/stylesheets/app/invite.less b/services/web/public/stylesheets/app/invite.less index aaa6f08ab4..4e6f24303a 100644 --- a/services/web/public/stylesheets/app/invite.less +++ b/services/web/public/stylesheets/app/invite.less @@ -1,4 +1,9 @@ .project-invite-accept { + .page-header { + .project-name { + white-space: pre; + } + } form { padding-top: 15px; }