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-11-01 11:36:59 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-01 11:36:59 +0400
commit844f8fd2131e10832efd05175930944c0ed9df63 (patch)
tree4901a9862c29fdffef380a23d6b6fc7531aa758f /app/views/events/_commit.html.haml
parent6055c615dbf37bece7e34af843b000c23a72eaf8 (diff)
Show only first line of commit message on dashboard
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/events/_commit.html.haml')
-rw-r--r--app/views/events/_commit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/events/_commit.html.haml b/app/views/events/_commit.html.haml
index 4d4b24009f4..135320da57e 100644
--- a/app/views/events/_commit.html.haml
+++ b/app/views/events/_commit.html.haml
@@ -2,4 +2,4 @@
.commit-row-title
= link_to commit[:id][0..8], project_commit_path(project, commit[:id]), class: "commit_short_id", alt: ''
&nbsp;
- = gfm escape_once(truncate(commit[:message], length: 70)) rescue "--broken encoding"
+ = gfm event_commit_title(commit[:message])