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

@ -37,9 +37,9 @@
= 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