Slightly less ugly list view
This commit is contained in:
parent
8d66a2ede2
commit
940b3a16fa
1 changed files with 4 additions and 4 deletions
|
|
@ -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.'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue