From 86d8a7425b79c565dd6c48777579d5abb1c0cbe0 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Fri, 12 Aug 2016 17:06:40 +0200 Subject: [PATCH] Avoiding errors when showing statistics. Slight change in wording. --- app/views/packages/details.slim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/packages/details.slim b/app/views/packages/details.slim index 8ea07dd..5326497 100644 --- a/app/views/packages/details.slim +++ b/app/views/packages/details.slim @@ -93,10 +93,10 @@ = fa_icon 'bar-chart' ' Statistics p - ' This page was visited #{@package.visits} times. - ' This information was last updated - ' #{time_ago_in_words(@package.updated_at)} ago. + ' #{@package.visits} other people were interested in this package here. ' The newest known version of this software is #{@package.version} + - if @package.updated_at + ' (Information last updated #{time_ago_in_words(@package.updated_at)} ago.) // show which distributions have this package available // Modal upload window