Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28620

Hide disabled language from list when editing content with translations

    XMLWordPrintable

    Details

      Description

      Hide disabled language from list when editing content with translations.

      Steps

      1. Create several languages in Admin / Languages (and add them in ezplatform.yml).
      2. Create an Article in main language.
      3. Add translations to this Article in the other languages. (screen1)
      4. Go to Admin / Languages and disable one of the languages. (screen2)
      5. (optional) Go to Content / Content structure and start creating new content.
      6. (optional) Verify available languages. (screen3)
      7. Go to the Article in View mode and verify the list of languages in language switcher. (screen4)
      8. Click Edit on the menu on the right side.
      9. Verify the list of languages on the Select language pop-up.

      Actual: Languages for all created translations are displayed. (screen5)
      Expected: Disabled languages are hidden from this list.

      Remarks: What is more user can edit in the disabled language (and create a draft).

        Attachments

        1. EZP-28620 1.png
          EZP-28620 1.png
          47 kB
        2. EZP-28620 2.png
          EZP-28620 2.png
          42 kB
        3. EZP-28620 3.png
          EZP-28620 3.png
          81 kB
        4. EZP-28620 4.png
          EZP-28620 4.png
          43 kB
        5. EZP-28620 5.png
          EZP-28620 5.png
          55 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              michal.szoltysek@ez.no Michał Szołtysek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: