]> git.openstreetmap.org Git - rails.git/commitdiff
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)
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.


No differences found