Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #497 from opscode/responsive-email
Allow emails to be responsive
- Loading branch information
Showing
4 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/views/cla_signature_mailer/ccla_signature_notification_email.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<h1>A new CCLA has been signed.</h1> | ||
<%= link_to "View Signed CCLA", ccla_signature_url(@ccla_signature), class: "button signedcla" %> | ||
<p><%= @ccla_signature.name %> signed a CCLA on behalf of <%= @ccla_signature.company %>.</p> | ||
<%= link_to "View Signed CCLA", ccla_signature_url(@ccla_signature), class: "button signedcla" %> | ||
<%= render 'ccla_signature', signature: @ccla_signature %> |
2 changes: 1 addition & 1 deletion
2
app/views/cla_signature_mailer/icla_signature_notification_email.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<h1>A new ICLA has been signed.</h1> | ||
<%= link_to "View Signed ICLA", icla_signature_url(@icla_signature), class: "button signedcla" %> | ||
<p><%= @icla_signature.name %> signed an ICLA.</p> | ||
<%= link_to "View Signed ICLA", icla_signature_url(@icla_signature), class: "button signedcla" %> | ||
<%= render 'icla_signature', signature: @icla_signature %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters