Project

General

Profile

Actions

Refactor #8797

closed

Separate style from the HTML in emails.

Added by Shimon Shtein over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
E-Mail
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Email templates contain style information inside the HTML.
It creates clutter in the erb files, and is difficult to track down when changing system style.
Consider using CSS to inline formatter, for example: [[https://www.ruby-toolbox.com/categories/Inline_CSS_for_E-Mail]]


Related issues 2 (1 open1 closed)

Related to Katello - Refactor #12403: Separate style from HTML in e-mailsNew11/05/2015Actions
Related to Foreman - Refactor #15847: URL helpers must be used in mailersClosedDominic Cleal07/27/2016Actions
Actions

Also available in: Atom PDF