]> git.openstreetmap.org Git - rails.git/commit
First steps towards using layouts
authorHerve Saint-Amand <git@saintamh.org>
Fri, 6 Jan 2017 22:37:28 +0000 (22:37 +0000)
committerHerve Saint-Amand <git@saintamh.org>
Fri, 6 Jan 2017 22:37:28 +0000 (22:37 +0000)
commit479a4bd0d7f9e3ece258634475fdc47f863c5c19
tree9d7febf87b38371deae8028e6bf0aec90944afdf
parentac081305f24453b576d826f0b85a851e0e8506e2
First steps towards using layouts

Since all HTML mails will presumably share the same overall layout, and the markup is fairly dense, it makes sense to use Rails layouts to share the structure across mail templates. This commit moves the core structure of the HTML mail to a layout. It will need to be further refined so that notifications that involve a text message sent by another user can share the avatar-and-message-text structure.
app/views/layouts/notifier.html.erb [new file with mode: 0644]
app/views/notifier/changeset_comment_notification.html.erb