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
|
= pkg.description
|
||||||
- elsif @view_style==:list
|
- elsif @view_style==:list
|
||||||
- @packages.to_a.each do |pkg|
|
- @packages.to_a.each do |pkg|
|
||||||
.grid-x.listview
|
.grid-x.grid-margin-x.listview
|
||||||
.small-12.medium-4.cell.pkgcard
|
.small-12.medium-4.cell.pkgcard
|
||||||
a.black href=package_path(name: pkg.name)
|
a.black href=package_path(name: pkg.name)
|
||||||
.image
|
.image
|
||||||
= small_img(screenshots_visible_to_user(pkg, session).first, cls: '')
|
= small_img(screenshots_visible_to_user(pkg, session).first, cls: '')
|
||||||
.small-12.medium-8.cell
|
.small-12.medium-8.cell
|
||||||
h1
|
h2
|
||||||
a href=package_path(name: pkg.name)
|
a href=package_path(name: pkg.name)
|
||||||
=pkg.name
|
=pkg.name
|
||||||
.packagedetails
|
p =pkg.description
|
||||||
h2 =pkg.description
|
.listview.longdescription
|
||||||
= pkg.long_description_first_paragraph or 'Sorry - no description available.'
|
= pkg.long_description_first_paragraph or 'Sorry - no description available.'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue