3 different images as signature

2 Comments

  • Jacob J Christensen - Cloudhuset A/S
    Comment actions Permalink

    Hi Merijn,

    If I'm understanding you correctly you want one macro with variations of image signatures, variations being based on the requester language. Possibly with the ability to reuse the signature in the multiple macros.

    You should be able to use Dynamic content for images in the language variations you want, but you have to use Markdown instead of HTML for it to work in the macro.

    For example:

    ![](https://i.gyazo.com/79bba68bbfc09af0544b974cdf5a0300.png)

    Will give you this (when executed from the use of macro):

    You can then reuse the Dynamic Content signature in multiple macros or maybe in the common agent signature.

    Hope that helps you out!

    0
  • Comment actions Permalink

    Alternatively, if you have Rich text enabled, you could also copy/paste your images into a single macro comment and use Liquid Markup to select which variant should be used, based on the requester language.

    {% case ticket.requester.language %}

    {% when 'français (France)' %}

    --- INSERT FRENCH IMAGE HERE ---

    {% when 'Nederlands (Dutch)' %}

    --- INSERT DUTCH IMAGE HERE ---

    {% when 'English' %}

    That's all from us at Channel 4.
    Stay classy San Diego!



    {% else %}

    --- INSERT FALLBACK IMAGE HERE ---

    {% endcase %}


    This method is not as easy to reuse(in other macros) as the one above, so I favor the original.

     

    0

Please sign in to leave a comment.

Powered by Zendesk