summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hanzel <mhanzel@gitlab.com>2019-07-01 16:10:42 +0000
committerMike Greiling <mike@pixelcog.com>2019-07-01 16:10:42 +0000
commit167f63f4c01519cb0027291a2c0985207f186a87 (patch)
treec9efcea4d839697d5e5080c67052a9020db61dc3
parent8d6aeb747770240bb1809f18e4c2d0d5b3f3cc8d (diff)
downloadgitlab-ce-167f63f4c01519cb0027291a2c0985207f186a87.tar.gz
Don't show tooltips on Open and Closed boards
-rw-r--r--app/views/shared/boards/components/_board.html.haml6
-rw-r--r--changelogs/unreleased/mh-board-tooltips.yml5
2 files changed, 9 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\"",
diff --git a/changelogs/unreleased/mh-board-tooltips.yml b/changelogs/unreleased/mh-board-tooltips.yml
new file mode 100644
index 00000000000..06fc64c52a7
--- /dev/null
+++ b/changelogs/unreleased/mh-board-tooltips.yml
@@ -0,0 +1,5 @@
+---
+title: "'Open' and 'Closed' issue board lists no longer display a redundant tooltip"
+merge_request: 30187
+author:
+type: fixed