Package upload paths fixed
This commit is contained in:
parent
4d2d64b43f
commit
59b353d569
4 changed files with 5 additions and 5 deletions
|
|
@ -5,7 +5,7 @@ a.black href=package_path(name: pkg.name)
|
||||||
img src=pkg.screenshots[0].url('small')
|
img src=pkg.screenshots[0].url('small')
|
||||||
- else
|
- else
|
||||||
// TODO: make it a link to /upload
|
// TODO: make it a link to /upload
|
||||||
a href=upload_package_path(name: pkg.name)
|
a href=upload_package_by_name_path(name: pkg.name)
|
||||||
img.screenshot src="/images/dummy/no-screenshots-upload-one.svg"
|
img.screenshot src="/images/dummy/no-screenshots-upload-one.svg"
|
||||||
div
|
div
|
||||||
// TODO: use description instead of package name (as soon as it is available)
|
// TODO: use description instead of package name (as soon as it is available)
|
||||||
|
|
|
||||||
|
|
@ -29,4 +29,4 @@
|
||||||
.large-12.columns
|
.large-12.columns
|
||||||
a.button.tiny href=package_path(name: pkg.name) Details
|
a.button.tiny href=package_path(name: pkg.name) Details
|
||||||
'
|
'
|
||||||
a.button.tiny href=upload_package_path(name: pkg.name) Upload screenshot
|
a.button.tiny href=upload_package_by_name_path(name: pkg.name) Upload screenshot
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
- if pkg.screenshots.length > 1
|
- if pkg.screenshots.length > 1
|
||||||
.text-center More screenshots
|
.text-center More screenshots
|
||||||
- else
|
- else
|
||||||
a href=upload_package_path(name: pkg.name)
|
a href=upload_package_by_name_path(name: pkg.name)
|
||||||
img.screenshot src="/images/dummy/no-screenshots-upload-one.svg"
|
img.screenshot src="/images/dummy/no-screenshots-upload-one.svg"
|
||||||
.small-12.medium-8.columns
|
.small-12.medium-8.columns
|
||||||
= render partial: 'packages/list_details', locals: {pkg: pkg }
|
= render partial: 'packages/list_details', locals: {pkg: pkg }
|
||||||
|
|
|
||||||
|
|
@ -53,9 +53,9 @@ div.row
|
||||||
div.large-4.medium-12.small-12.columns.text-center
|
div.large-4.medium-12.small-12.columns.text-center
|
||||||
h2 Your help needed
|
h2 Your help needed
|
||||||
// TODO: load actual most popular package without a screenshot and cache it
|
// TODO: load actual most popular package without a screenshot and cache it
|
||||||
a href=upload_package_path('firefox')
|
a href=upload_package_by_name_path('firefox')
|
||||||
img src="/images/dummy/no-screenshots-upload-one.svg" width="80%"
|
img src="/images/dummy/no-screenshots-upload-one.svg" width="80%"
|
||||||
p
|
p
|
||||||
' We lack a screenshot for the Firefox package. Can you
|
' We lack a screenshot for the Firefox package. Can you
|
||||||
a href=upload_package_path('firefox') provide one
|
a href=upload_package_by_name_path('firefox') provide one
|
||||||
' ?
|
' ?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue