Changing Font Color of Mailto email template link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2015 10:31 PM
Hi,
Was wondering if someone can assist.
On approval request notifications where there is an Approve or Reject Mailto Email Template links, they come up in the approval notification that looks like hyperlinks.
Is it possible to change the font color?
I have tried with plain HTML but it seems that it does not work.
<font size="3" style="color:green"> ${mailto:mailto.approval} </font>
<font size="3" style="color:red"> ${mailto:mailto.reject} </font>
Has anyone come across this requirement or something similar?
thanks!
Carlito
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2015 10:55 PM
I think you will need to modify mailto.approval and mailto.reject template itself rather than adding a html tag just before a jexl expression ${mailto:mailto:approval}
One more thing, I am not HTML expert but I sens <font> is not an HTML tag ( I may be wrong)
But I am definitely sure that <style> is an HTML tag you should give a try.
<style> tag contains font attribute and other formatting attributes like color and background color and padding etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2015 11:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2015 11:08 PM
Hi Carlito, that code that you added there should work! And just to make sure I also tried it myself on a couple of ways that i know how to set the color through the font tag:
<html>
<font size="3" style="color:red">Red</font>
<font size="3" color="red">Red</font>
</html>
Perhaps something else is not right in your code. Would you mind sharing the complete notification body?
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2015 11:11 PM