Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-11 23:46:37 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-11 23:46:37 +0400
commit13fec18ac9cbdecdef3b0e5fb7dd7480e9d7cbbf (patch)
tree5afa3a0bcafeca3dbaefab778d0c2778135742ea /app/views/events/event/_push.html.haml
parentc9f741bb07bac1722dcbfeb909acd4ed49d1d1ae (diff)
Truncate some text from dashboard events
Diffstat (limited to 'app/views/events/event/_push.html.haml')
-rw-r--r--app/views/events/event/_push.html.haml2
1 files changed, 1 insertions, 1 deletions
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