45 lines
1.3 KiB
Text
45 lines
1.3 KiB
Text
// Right-side panel on details page to display further information
|
|
// about a package.
|
|
.bigpanel.sticky data-sticky=true data-anchor="details"
|
|
// long description
|
|
p.subtitle
|
|
= fa_icon 'info-circle'
|
|
' Description
|
|
- if pkg.long_description.present?
|
|
= render(partial: 'long_description', locals: {text: pkg.long_description})
|
|
- else
|
|
p Sorry - no more information available.
|
|
|
|
hr
|
|
|
|
// upload new screenshots
|
|
p.subtitle
|
|
= fa_icon 'upload'
|
|
' Upload more screenshots
|
|
p
|
|
' Please help extend the collection of screenshots.
|
|
' Just make a screenshot and upload it here. You don't
|
|
' need to register or anything.
|
|
a.button.small.expand.uploadbutton href=upload_path(pkg.name) Upload a screenshot
|
|
|
|
// homepage
|
|
- if pkg.homepage.present?
|
|
hr
|
|
p.subtitle
|
|
= fa_icon 'home'
|
|
' Homepage
|
|
p
|
|
= link_to pkg.homepage, pkg.homepage, target: '_blank'
|
|
|
|
// statistics
|
|
hr
|
|
p.subtitle
|
|
= fa_icon 'bar-chart'
|
|
' Statistics
|
|
p
|
|
- if pkg.visits > 0
|
|
' #{pkg.visits} other people were interested in this package here.
|
|
' The newest known version of this software is #{pkg.upstream_version}
|
|
- if pkg.updated_at
|
|
' (Information last updated #{time_ago_in_words(pkg.updated_at)} ago.)
|
|
// show which distributions have this package available
|