Skip to main content

Service Desk Notifications - Customize $Approve/$Deny tags

  • September 13, 2019
  • 1 reply
  • 89 views

Forum|alt.badge.img+1
Hello, We are going to be expanding how our company uses the Approve and Deny action items in Workflows, and we want to be able to keep the Approve and Deny links in Emails since that is an easy way for end users and admins to approve without needing to go into the Service Record itself. $Approve and $Deny tags work just fine, but we cant seem to do any customization to them. Basically what we are going for is something like the below attachment #1, with buttons for the user to approve or deny the request, but because the $Approve and $Deny tags inserts its own element into the HTML, there is no way to do inline changes to format them. So it ends up looking like attachment #2 My level of CSS/HTML is not advanced by any means, but I just cant seem to figure out how to make this look better. Current code is below for reference. <table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td style="border-radius: 3px;" bgcolor="#d9e0e2" align="center"><a rel="nofollow" style="font-size: 14px; font-family: sans-serif; color: rgb(0, 0, 0); text-decoration: none; border-radius: 3px; padding: 12px 18px; border: 1px solid rgb(138, 141, 142); display: inline-block;">      $Deny      </a></span></td><td>   </td><td style="border-radius: 3px;" bgcolor="#00833f" align="center"><a rel="nofollow" style="font-size: 14px; font-family: sans-serif; color: rgb(255, 255, 255); text-decoration: none; border-radius: 3px; padding: 12px 18px; border: 1px solid rgb(0, 104, 50); display: inline block;">    $Approve    </a></span></td></tr></tbody></table></td> Any help is much appreciated!

1 reply

itsdevops
  • New SysMate
  • August 5, 2024

hi @samkat 

Use this website: Online HTML Beautifier - HTML Formatter - BeautifyTools.com

 

Please make sure you dont have any deprecated code.