Slightly less ugly list view

This commit is contained in:
Christoph Haas 2021-02-21 15:57:42 +01:00
parent 8d66a2ede2
commit 940b3a16fa

View file

@ -25,17 +25,17 @@
= pkg.description
- elsif @view_style==:list
- @packages.to_a.each do |pkg|
.grid-x.listview
.grid-x.grid-margin-x.listview
.small-12.medium-4.cell.pkgcard
a.black href=package_path(name: pkg.name)
.image
= small_img(screenshots_visible_to_user(pkg, session).first, cls: '')
.small-12.medium-8.cell
h1
h2
a href=package_path(name: pkg.name)
=pkg.name
.packagedetails
h2 =pkg.description
p =pkg.description
.listview.longdescription
= pkg.long_description_first_paragraph or 'Sorry - no description available.'