Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-2535

Convert text looking like a link to a real clickable link in GUI help texts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • None
    • None
    • Editor general
    • Medium
    • In several help and description texts additional information is provided as link to the translate5 confluence wiki. Unfortunately this links were not clickable, this is changed now.
    • -

    Description

      problem

      In the pop-up window of the server exception window and the description column of the configuration grids the displayed text may contain URLs to our confluence with additional information about the config / error. Unfortunately this URLs are not clickable since not rendered as a real a tag.

      solution

      Implement a utility function which converts URLs in text to a real, clickable link.

      So for example the URLĀ 

      https://confluence.translate5.net/display/CON/CLI+Maintenance+Command
      

      should be converted with a simple regex (http(s)?://[^ ]+) to

      <a href="https://confluence.translate5.net/display/CON/CLI+Maintenance+Command" target="_blank">CLI Maintenance Command</a>
      

      This should be done in a utility function and not in a general manner, so that we can use that function only at the places where we want it (as mentioned above, in the description column of the config grid, and the error pop-up and at other sensefull places)

      Attachments

        Activity

          People

            aleksandar Aleksandar Mitrev
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: