Skip to content

Commit

Permalink
Merge pull request ActiveCampaign#27 from wildbit/template-typos
Browse files Browse the repository at this point in the history
Fixed variable name typo in comment_notification template
  • Loading branch information
derekrushforth authored Dec 20, 2016
2 parents ddbe2bc + df97f09 commit 95d9a5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/comment_notification.html
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@
<table width="100%" cellpadding="0" cellspacing="0">
{{#each . }}
<tr>
<td class="attributes_item"><a href="{{attachmnet_url}}">{{attachment_name}}</a> <span>({{attachment_size}} {{attachment_type}})</span></td>
<td class="attributes_item"><a href="{{attachment_url}}">{{attachment_name}}</a> <span>({{attachment_size}} {{attachment_type}})</span></td>
</tr>
{{/each}}
</table>
Expand Down
2 changes: 1 addition & 1 deletion dist/comment_notification.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{{#each . }}

{{attachment_name}} ( {{ attachmnet_url }} ) ({{attachment_size}} {{attachment_type}})
{{attachment_name}} ( {{ attachment_url }} ) ({{attachment_size}} {{attachment_type}})

{{/each}}

Expand Down
6 changes: 2 additions & 4 deletions src/emails/comment_notification.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: layout.hbs
subject: "{{commenter_name}} made a comment"
preheader:
preheader:
---
<table class="email-content" width="100%" cellpadding="0" cellspacing="0">

Expand All @@ -23,7 +23,7 @@ preheader:
<table width="100%" cellpadding="0" cellspacing="0">
\{{#each . }}
<tr>
<td class="attributes_item"><a href="\{{attachmnet_url}}">\{{attachment_name}}</a> <span>(\{{attachment_size}} \{{attachment_type}})</span></td>
<td class="attributes_item"><a href="\{{attachment_url}}">\{{attachment_name}}</a> <span>(\{{attachment_size}} \{{attachment_type}})</span></td>
</tr>
\{{/each}}
</table>
Expand All @@ -47,5 +47,3 @@ preheader:
</td>
</tr>
</table>


0 comments on commit 95d9a5f

Please sign in to comment.