Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20061

Should allow the alert Instance Response dialog embedded the super link to other product

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • alerts
    • None

    Description

      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 <>, 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 "<aaaaaa>" in his alert py scripts.

      Anyone can help improve this fix? Thanks a lot!

      Attachments

        Activity

          People

            Unassigned Unassigned
            zhaoyim Zhao Yi Ming
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: