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:
authorTakuya Noguchi <tak.noguchi.iridge@gmail.com>2017-07-16 18:11:32 +0300
committerTakuya Noguchi <tak.noguchi.iridge@gmail.com>2017-07-25 07:00:45 +0300
commit3951eb62705046fb2de6c836a82c1cad043d3036 (patch)
tree36a6b75f6e540e3cd7dbc55d04ae08be26a53cab /app/views/projects/blame/show.html.haml
parentd9ed329b8c4282e8b722034df22dc1949e46c732 (diff)
Use only CSS to truncate commit message in blame
Diffstat (limited to 'app/views/projects/blame/show.html.haml')
-rw-r--r--app/views/projects/blame/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/blame/show.html.haml b/app/views/projects/blame/show.html.haml
index f11afe8fc22..c7359d873d9 100644
--- a/app/views/projects/blame/show.html.haml
+++ b/app/views/projects/blame/show.html.haml
@@ -21,8 +21,8 @@
.commit
= author_avatar(commit, size: 36)
.commit-row-title
- %strong
- = link_to_gfm truncate(commit.title, length: 35), project_commit_path(@project, commit.id), class: "cdark"
+ %span.item-title.str-truncated-100
+ = link_to_gfm commit.title, project_commit_path(@project, commit.id), class: "cdark", title: commit.title
.pull-right
= link_to commit.short_id, project_commit_path(@project, commit), class: "commit-sha"
&nbsp;