From 9e296f7b2b3040410f3620ac087d3ac9e0bc846f Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Sun, 1 Sep 2013 18:25:35 +0600 Subject: [PATCH] add time ago to the new build list page --- app/views/projects/build_lists/_build_lists_ajax.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/build_lists/_build_lists_ajax.json.jbuilder b/app/views/projects/build_lists/_build_lists_ajax.json.jbuilder index 128c1020d..e56af59b0 100644 --- a/app/views/projects/build_lists/_build_lists_ajax.json.jbuilder +++ b/app/views/projects/build_lists/_build_lists_ajax.json.jbuilder @@ -11,7 +11,7 @@ build_lists = @build_lists.map do |build_list| link_to("#{build_list.save_to_platform.name}/#{build_list.save_to_repository.name}#{build_for}", [build_list.save_to_platform, build_list.save_to_repository]), build_list.arch.try(:name) || t('layout.arches.unexisted_arch'), link_to(build_list.user.try(:fullname), build_list.user), - build_list.updated_at.strftime('%d/%m/%Y') + datetime_moment(build_list.updated_at).html_safe ] end