summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Bajao <ebajao@gitlab.com>2019-06-05 20:09:50 +0800
committerPatrick Bajao <ebajao@gitlab.com>2019-06-05 20:09:52 +0800
commit93dd5390b6b4bc94cc83626e1369f3925c82028e (patch)
treec74de174ae43da1b6feed033c53ba2b21d0d249c
parentde21320db21e63db59cbba870ac23624a298214d (diff)
downloadgitlab-ce-93dd5390b6b4bc94cc83626e1369f3925c82028e.tar.gz
Use markdown_field helper to display full_title
-rw-r--r--app/views/projects/tree/_tree_commit_column.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/tree/_tree_commit_column.html.haml b/app/views/projects/tree/_tree_commit_column.html.haml
index e37fd7624be..065fef606d5 100644
--- a/app/views/projects/tree/_tree_commit_column.html.haml
+++ b/app/views/projects/tree/_tree_commit_column.html.haml
@@ -1,2 +1,3 @@
+- full_title = markdown_field(commit, :full_title)
%span.str-truncated
- = link_to_html commit.redacted_full_title_html, project_commit_path(@project, commit.id), title: commit.redacted_full_title_html, class: 'tree-commit-link'
+ = link_to_html full_title, project_commit_path(@project, commit.id), title: full_title, class: 'tree-commit-link'