From 13fec18ac9cbdecdef3b0e5fb7dd7480e9d7cbbf Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 11 Sep 2013 22:46:37 +0300 Subject: Truncate some text from dashboard events --- app/views/events/event/_push.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/events/event/_push.html.haml') diff --git a/app/views/events/event/_push.html.haml b/app/views/events/event/_push.html.haml index f2b8dc4238c..adba9a5f619 100644 --- a/app/views/events/event/_push.html.haml +++ b/app/views/events/event/_push.html.haml @@ -5,7 +5,7 @@ %strong= event.ref_name - else = link_to project_commits_path(event.project, event.ref_name) do - %strong= event.ref_name + %strong= truncate(event.ref_name, length: 30) at %strong= link_to_project event.project -- cgit v1.2.3