Display of statistics on details page fixed
This commit is contained in:
parent
639d7941e5
commit
d4e8e89e82
1 changed files with 11 additions and 11 deletions
|
|
@ -31,15 +31,15 @@
|
||||||
p
|
p
|
||||||
= link_to pkg.homepage, pkg.homepage, target: '_blank'
|
= link_to pkg.homepage, pkg.homepage, target: '_blank'
|
||||||
|
|
||||||
// statistics
|
// statistics
|
||||||
hr
|
hr
|
||||||
p.subtitle
|
p.subtitle
|
||||||
= fa_icon 'bar-chart'
|
= fa_icon 'bar-chart'
|
||||||
' Statistics
|
' Statistics
|
||||||
p
|
p
|
||||||
|
- if pkg.visits > 0
|
||||||
' #{pkg.visits} other people were interested in this package here.
|
' #{pkg.visits} other people were interested in this package here.
|
||||||
' The newest known version of this software is #{pkg.version}
|
' The newest known version of this software is #{pkg.version}
|
||||||
- if pkg.updated_at
|
- if pkg.updated_at
|
||||||
' (Information last updated #{time_ago_in_words(pkg.updated_at)} ago.)
|
' (Information last updated #{time_ago_in_words(pkg.updated_at)} ago.)
|
||||||
// show which distributions have this package available
|
// show which distributions have this package available
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue