Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2584

Prepend all workflow twig directories with bundle name to avoid accidental override when using @ezdesign

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: High High
    • 2.4.0
    • 2.4.0-beta1
    • Workflow
    • None

    Description

      Template paths are too generic and they often collide. To avoid this I came up with an idea to put subdirectory with package name in the `Resources/views` directory:
      `@ezdesign/form_fields.html.twig` => `@ezdesign/ezplatform_workflow/form_fields.html.twig`

      Now there is little chance you will override templates by accident as you have to put override templates under `ezplatform_workflow` directory explicitly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            maciej.kobus@ibexa.co Maciej Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: