Skip to main content

Modify the display of embedded links

You can modify the appearance of embedded links by editing:

Modify embedded links through common.m4

You can modify the appearance of specific embedded links throughout the product.

For example, to modify how managed system embedded links are displayed:

  1. Go to \<instance>\design\src\common.

  2. Open common.m4.

  3. Modify the text argument for C_DISPLAY_MANAGED_SYSTEM.

  4. Generate the skin files; for example:

    make.bat default en-us
    
    make.bat install default en-us

For example, to modify how existing and newly-created managed group information embedded links are displayed:

  1. Go to \<instance>\design\src\common.

  2. Open common.m4.

  3. Modify the text argument for C_DISPLAY_MANAGEGRP.

  4. Modify the text argument for C_DISPLAY_MANAGEGRP_NEW.

  5. Generate the skin files; for example:

    make.bat default en-us
    make.bat install default en-us

To find out what options are available for an embedded link:

  1. Navigate to \<instance>\design\.

  2. Generate debug skin files:

    make.bat debug default en-us
    make.bat install default en-us
  3. In the product, inspect elements on the embedded link you are modifying to view a list of available objects.

Modify embedded links through component templates

You can modify the appearance of the embedded links that appear when submitting a request or when completing a review. You can choose to use the id, name, or guid of the object.

For example, to change the embedded link of users so that only the name is displayed and not their username:

  1. Open the clickable-link.component.ts file found in

    \<instance>\design\src\ui\src\app\shared\components\clickable-link\.

  2. Copy the file to

    \<instance>\design\custom\ui\src\app\shared\components\clickable-link\.

  3. Find the following row in the templates section:

    user: '%name% (%id%)',
  4. Modify the text:

    user: '%name%',
  5. Generate the skin files; for example:

    make.bat default en-us
    make.bat install default en-us