Display of statistics on details page fixed

This commit is contained in:
Christoph Haas 2016-08-16 13:09:13 +02:00
parent 639d7941e5
commit d4e8e89e82

View file

@ -31,15 +31,15 @@
p
= link_to pkg.homepage, pkg.homepage, target: '_blank'
// statistics
hr
p.subtitle
= fa_icon 'bar-chart'
' Statistics
p
// 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.version}
- if pkg.updated_at
' (Information last updated #{time_ago_in_words(pkg.updated_at)} ago.)
// show which distributions have this package available
' The newest known version of this software is #{pkg.version}
- if pkg.updated_at
' (Information last updated #{time_ago_in_words(pkg.updated_at)} ago.)
// show which distributions have this package available