Skip to content

Commit

Permalink
change Invitation title to HTML & CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
despo committed Oct 27, 2013
1 parent e3fcfeb commit 4963db9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/mailers/invitation_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def invite sessions, member, invitation

load_attachments

subject = "HTML by Codebar - Wednesday Oct 30th, 18:30"
subject = "HTML & CSS by Codebar - Wednesday Oct 30th, 18:30"

mail(mail_args(member, subject)) do |format|
format.html
Expand Down
2 changes: 1 addition & 1 deletion app/views/invitation_mailer/invite.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<div style="display:inline-block">
<div style="width:340px; padding-right: 50px; display: inline-block;">
<h2 style="color: #2d183d; font-size: 27px; font-weight: 500;letter-spacing: 0.03em; margin-bottom: 0;">HTML by Codebar</h2>
<h2 style="color: #2d183d; font-size: 27px; font-weight: 500;letter-spacing: 0.03em; margin-bottom: 0;">HTML & CSS by Codebar</h2>
<small>In this session we will be introducing CSS</small>
<p style="font-size: 16px; font-weight: 300; margin-top: 7px;">on <b style="color: #555555;font-size: 16px; font-weight: 600; margin-top: 0;">Wed, 30 October at 18:30</b></p>
<div style="background-color: #F7F7F7; width: 90%; border-radius: 6px; box-shadow: 1px 1px 0 rgba(250, 250, 250, 0.5) inset, -1px -1px 2px rgba(250, 250, 250, 0.1) inset; font-size: 18px; padding: 5px 14px; text-align: center; margin: 31px 0 25px; border: 1px solid #dddddd;">
Expand Down
2 changes: 1 addition & 1 deletion spec/mailers/invitation_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
sessions = Fabricate(:sessions)
invitation_token = "token"

email_subject = "HTML by Codebar - Wednesday Oct 30th, 18:30"
email_subject = "HTML & CSS by Codebar - Wednesday Oct 30th, 18:30"
InvitationMailer.invite(sessions, member, invitation_token).deliver

expect(email.subject).to eq(email_subject)
Expand Down

0 comments on commit 4963db9

Please sign in to comment.