Merge branch 'master' of salsa.debian.org:debian/debshots
This commit is contained in:
commit
33086f9430
12 changed files with 132 additions and 52 deletions
|
|
@ -39,8 +39,11 @@
|
|||
.large-3.medium-12.small-12.cell.text-center
|
||||
h2 Most popular
|
||||
.thumb-height
|
||||
a href=package_path(@most_popular_package.name)
|
||||
= image_tag(@most_popular_package.screenshots.first.image.variant(resize: "160x120"))
|
||||
- if @most_popular_package
|
||||
a href=package_path(@most_popular_package.name)
|
||||
= image_tag(@most_popular_package.screenshots.first.image.variant(resize: "160x120"))
|
||||
- else
|
||||
'No uploaded screenshots yet.
|
||||
p
|
||||
strong
|
||||
=@most_popular_package.name
|
||||
|
|
@ -49,8 +52,11 @@
|
|||
.large-3.medium-12.small-12.cell.text-center
|
||||
h2 Contribute
|
||||
.thumb-height
|
||||
a href=upload_path(@most_wanted_package.name)
|
||||
img src="/images/dummy/no-screenshots-upload-one.svg" width="160"
|
||||
- if @most_wanted_package.name
|
||||
a href=upload_path(@most_wanted_package.name)
|
||||
img src="/images/dummy/no-screenshots-upload-one.svg" width="160"
|
||||
- else
|
||||
'No uploaded screenshots yet.
|
||||
p
|
||||
/ TODO: Randomly choose one of ~30 packages
|
||||
' We lack a screenshot for the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue