Only show approved screenshots in search

Bug was reported by Reiner Hermann
This commit is contained in:
Christoph Haas 2020-11-22 23:52:02 +01:00
parent 169ad369e4
commit 5fedf92661

View file

@ -14,7 +14,7 @@ a.black href=package_path(name: pkg.name)
/ = pkg.description
.image
= small_img(pkg.screenshots.first, cls: '')
= small_img(pkg.screenshots_approved.first, cls: '')
.text.pkgname
= pkg.name
.text