diff options
author | Martin Hanzel <mhanzel@gitlab.com> | 2019-07-01 19:10:42 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2019-07-01 19:10:42 +0300 |
commit | 167f63f4c01519cb0027291a2c0985207f186a87 (patch) | |
tree | c9efcea4d839697d5e5080c67052a9020db61dc3 /app/views/shared | |
parent | 8d6aeb747770240bb1809f18e4c2d0d5b3f3cc8d (diff) |
Don't show tooltips on Open and Closed boards
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/boards/components/_board.html.haml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/shared/boards/components/_board.html.haml b/app/views/shared/boards/components/_board.html.haml index fdb2a0a1843..6c0613605eb 100644 --- a/app/views/shared/boards/components/_board.html.haml +++ b/app/views/shared/boards/components/_board.html.haml @@ -19,8 +19,10 @@ %img.avatar.s20.has-tooltip{ height: "20", width: "20", ":src": "list.assignee.avatar", ":alt": "list.assignee.name" } .board-title-text - %span.board-title-main-text.has-tooltip.block-truncated{ "v-if": "list.type !== \"label\"", - ":title" => '((list.label && list.label.description) || list.title || "")', data: { container: "body" } } + %span.board-title-main-text.block-truncated{ "v-if": "list.type !== \"label\"", + ":title" => '((list.label && list.label.description) || list.title || "")', + data: { container: "body" }, + ":class": "{ 'has-tooltip': !['backlog', 'closed'].includes(list.type) }" } {{ list.title }} %span.board-title-sub-text.prepend-left-5.has-tooltip{ "v-if": "list.type === \"assignee\"", |