Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3111

Do not show empty <div> elements for component items that do not render anything

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.30.00
    • None
    • None

    Description

      Currently, the freemarker snippets rendering the containers look for example as follows:

      <div${containerClass}>
        <#list hstResponseChildContentNames as childContentName>
        <div${containerItemClass}>
          <@hst.include ref="${childContentName}"/>
        </div>
        </#list>
      </div>
      

      however, it makes more sense to no show empty <div> elements outside the channel manager view is the child component has no actual rendered content.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: