gallery-home: hide pending if == 0. default-layout prettier