Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-6776

Languages menu: show the dropdown menu only if the NRO has more than 1 lang already set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Accepted
    • Icon: Could have Could have
    • 2.80.1
    • 1
    • Navigation
    • Sprint #185
    • saturn

      As an agreement with hsaleh the condition should be `more than 1` instead of `more than 0`.

      Here is the logic condition:

      • If the site has not any language set then of course the languages nav won't be rendered.
      • If the site has at least 1 language already set then the languages nav won't be rendered.
      • If the site has at least 2 or more languages already set then the languages nav will be rendered.

            dtovbein Dan Tovbein
            dtovbein Dan Tovbein
            Houssam Saleh Houssam Saleh
            Nikos Roussos Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: