From 43442d6f62fa5e44ed293b2df7980985c0ab0a8d Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Fri, 17 Apr 2015 10:45:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E7=AC=A6=E6=88=AA=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/application_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 34bb4680e..9afd67001 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -394,9 +394,9 @@ module ApplicationHelper def format_version_name(version) if version.project == @project - h(truncate(version.name,:length=>30)) + h(truncate(version.name,:length=>20)) else - h("#{version.project} - #{truncate(version.name,:length=>30)}") + h("#{version.project} - #{truncate(version.name,:length=>20)}") end end