32 lines
1.3 KiB
Text
32 lines
1.3 KiB
Text
// Details of a package in list view
|
|
|
|
// Second row containsjust the long description
|
|
.row.pkgdetails
|
|
.large-12.columns
|
|
.description =pkg.description
|
|
// TODO: packages don't have any long description yet
|
|
-if pkg.long_description
|
|
.longdescription =pkg.long_description
|
|
-else
|
|
.longdescription Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr.
|
|
|
|
// Third row contains the star-rating, the comment count
|
|
// and the action buttons
|
|
|
|
//.row
|
|
// .large-12.columns
|
|
// // TODO: use actual rating
|
|
// span.star-rating-readonly data-score=4.5
|
|
//
|
|
// span.commentcount
|
|
// // TODO: count proper comments
|
|
// // TODO: Tooltips for it
|
|
// img src="/images/icons/comment.svg" width="18" =rand(30)
|
|
// '
|
|
// img src="/images/icons/screenshot.svg" width="18" =rand(5)+1
|
|
|
|
.row
|
|
.large-12.columns
|
|
a.button.tiny href=package_path(name: pkg.name) Details
|
|
'
|
|
a.button.tiny href=upload_package_by_name_path(name: pkg.name) Upload screenshot
|