Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-58863

Card taglib shouldn't display the footer container if there's not footer information

    Details

      Description

      When using frontend card taglib without footer information it still displays a footer container that makes it look bad. You can test this by using the following snippet:

      										<liferay-frontend:card
      											horizontal="<%= true %>"
      											imageCSSClass="icon-monospaced"
      											imageUrl="icon-folder-close-alt"
      											resultRow="<%= row %>"
      											title="<%= HtmlUtil.escape(folder.getName()) %>"
      											url="<%= viewFolderURL.toString() %>"
      										/>
      

      and you'll get the following markup that is empty:

      <div class="card-footer"> <div class="card-dm-more-options"> </div> <div class="card-dm-details"> </div> </div>
      

        Attachments

          Activity

            People

            • Assignee:
              felix.zhang Felix Zhang
              Reporter:
              sergio.gonzalez Sergio Gonzalez (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 41 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 Alpha 1