プロジェクト

全般

プロフィール

Vote #69877

完了

Email styles inline

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Email notifications_9
対象バージョン:
開始日:
2011/05/11
期日:
進捗率:

0%

予定工数:
category_id:
9
version_id:
102
issue_org_id:
8335
author_id:
4
assigned_to_id:
0
comments:
7
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Since gmail does not support CSS in @head@, it would be helpful, if Redmine could apply styles inline. This is bearable, but cuteness sometimes wins over hearts of people, who still are not using Redmine.

I'm not much of ruby guy, but proposed solution would be parsing rules from @head@ section, and then applying them to body elements. That should be doable. On the other hand - maybe one can modify views (layout and email templates). If so, that would be sweet also.

On any exception (body is not well formed, head css is not parsable, etc) parser should terminate and fall back, sending message without modifying it.


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
This issue can be resolved by using "roadie-rails":https://github.com/Mange/roadie-rails gem.

I have created a patch. Styles of all outgoing emails are automatically converted to inline styles.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,20466,Broken email notification layout in Outlook
relates,Closed,12270,¶ in email notifications when titles in description of ticket used

Admin Redmine さんが3年以上前に更新

  • カテゴリEmail notifications_9 にセット
  • 対象バージョン3.2.0_102 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0