Remove HTML markup from locale file
Rather than including HTML markup in the locale file (which also has the inconvenience of requiring both a plain-text and an HTML duplicate of the same string), move the markup to the template. Also added a helper to reduce clutter in the template slightly.
This commit is contained in:
parent
beaa85e21c
commit
ac081305f2
4 changed files with 15 additions and 19 deletions
|
@ -159,7 +159,6 @@ class Notifier < ActionMailer::Base
|
|||
@comment = comment.body
|
||||
@owner = recipient == comment.changeset.user
|
||||
@commenter = comment.author.display_name
|
||||
@commenter_url = user_url(comment.author.display_name, :host => SERVER_URL)
|
||||
@changeset_comment = comment.changeset.tags["comment"].presence
|
||||
@time = comment.created_at
|
||||
@changeset_author = comment.changeset.user.display_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue