Problem/Motivation

  • If the entity list is empty, show a simple one-line message in the table body indicating No items.
  • When the entity list is empty, hide the pagination buttons and selectboxes.

Issue fork cloud-3372114

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Ryo Yamashita created an issue. See original summary.

ryo yamashita’s picture

Status: Needs work » Needs review

@yas

Please review it. Thanks.

asai.noriaki’s picture

Status: Needs review » Reviewed & tested by the community

@Ryo Yamashita @yas

Thank you for providing the patch. I tested that it works as expected, and it worked.

yas’s picture

Title: Simplify the table view when the entity list is empty in the list view page » Add a message when no resources are found in a list view in SPA
Issue summary: View changes
Related issues: +#3364603: Add a message when no resources are found in a list view

@asai.noriaki

Thank you for your review.

@ryo-yamashita

I'll merge the patch to 5.x and 6.x, and close this issue as Fixed.

  • yas committed 397c611f on 6.x authored by Ryo Yamashita
    Issue #3372114 by Ryo Yamashita, asai.noriaki, yas: Add a message when...

  • yas committed fb6e2e8b on 5.x authored by Ryo Yamashita
    Issue #3372114 by Ryo Yamashita, asai.noriaki, yas: Add a message when...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.