Zhao Yi Ming created AMBARI-20061:
-------------------------------------

             Summary: Should allow the alert Instance Response dialog embedded 
the super link to other product
                 Key: AMBARI-20061
                 URL: https://issues.apache.org/jira/browse/AMBARI-20061
             Project: Ambari
          Issue Type: Improvement
          Components: alerts
            Reporter: Zhao Yi Ming


We create a knowledge base to make the user can easily yo find out an alert 
solution, then we want to link the knowledge base URL with Ambari alter  
Instance Response dialog content. But the  Instance Response dialog content js 
code replace the <> with &lt;&gt;, so we want to not replace the <>, the easy 
way it use Handlebars.SafeString to make the string is safe string, so the js 
will not replace the <>. here is 2 scenarios
1. Want to super link, so user can add string like "<a href="...">aaa</a>" in 
his alert py
2. Did not use super link but the Instance Response dialog content include the 
<>, user can add a string like "&lt;aaaaaa&gt;" in his alert py scripts.

Anyone can help improve this fix? Thanks a lot!






--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to