From f1d93646a2785b72eb6924ae66d657c3a484236a Mon Sep 17 00:00:00 2001 From: nilsding Date: Sun, 30 Nov 2014 20:37:52 +0100 Subject: [PATCH] better check 'em thrice --- app/views/shared/_answerbox.html.haml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/shared/_answerbox.html.haml b/app/views/shared/_answerbox.html.haml index fb54537e..70a15046 100644 --- a/app/views/shared/_answerbox.html.haml +++ b/app/views/shared/_answerbox.html.haml @@ -8,11 +8,15 @@ %h6.text-muted.media-heading.answerbox-question-user= user_screen_name a.question.user, a.question.author_is_anonymous %p.answerbox-question-text= a.question.content / TODO: Andreas, mach was draus: - = time_ago_in_words(a.question.created_at) + .timestamp + = time_ago_in_words(a.question.created_at) + ago .panel-body %p= a.content / TODO: Andreas, mach was draus: - = time_ago_in_words(a.created_at) + .timestamp + = time_ago_in_words(a.created_at) + ago - if @user.nil? .row .col-md-6.col-sm-4.col-xs-7.text-left.text-muted