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

Use ez_is_field_empty to do the checks in content_fields.html.twig

    XMLWordPrintable

Details

    • Ventoux Sprint 5

    Description

      On the ezimage fieldtype, the check :

      {% block ezimage_field %}
      {% spaceless %}
      {% if field.value %}
      

      Doesn't work and displays invalid elements.

      Instead of doing a quick fix on this specific field (like it has been done on some other ones), we cloud use: https://confluence.ez.no/display/EZP52/ez_is_field_empty

      Attachments

        Activity

          People

            Unassigned Unassigned
            yannick.roger-obsolete@ez.no Yannick Roger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 4 hours, 30 minutes
                3d 4h 30m