I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Bug #2133

Rendering HTML for email

Added by Andriy Lesyuk almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
11 Dec 2012
Due date:
27 Jan 2013
% Done:

100%

Redmine version:
External issue:

Description

Right now custom fields are always generated as plain text for ActionMailer templates, i.e., email...

To determine the target format for ActionView, i.e., web views, I use request.template_format. But no request is available for Mailer templates! Therefore, rendering falls back to the default format, which is plain text.

I really need an idea, how can I determine the target format (e.g., content type) from within a Mailer’s view. I tried to search for a hint but failed...


Related issues

Related to Extended Fields - Bug #2140: Custom field templates do not work under Redmine 2.2.x Closed 22 Jan 2013 27 Jan 2013

Associated revisions

Revision 82 (diff)
Added by Andriy Lesyuk almost 12 years ago

Applied fix for #2140 and #2133

History

#1 Updated by Andriy Lesyuk almost 12 years ago

  • Due date set to 27 Jan 2013
  • Status changed from Incomplete to Closed
  • Target version set to 0.2.1
  • % Done changed from 0 to 100

Also available in: Atom PDF

Terms of use | Privacy policy