summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2019-07-01 16:10:43 +0000
committerMike Greiling <mike@pixelcog.com>2019-07-01 16:10:43 +0000
commit793b36f9b2c0e2a94d5a4d3a7685495be2e6e0b8 (patch)
treec9efcea4d839697d5e5080c67052a9020db61dc3
parent8d6aeb747770240bb1809f18e4c2d0d5b3f3cc8d (diff)
parent167f63f4c01519cb0027291a2c0985207f186a87 (diff)
downloadgitlab-ce-793b36f9b2c0e2a94d5a4d3a7685495be2e6e0b8.tar.gz
Merge branch 'mh/board-tooltips' into 'master'
Don't show tooltips on Open and Closed boards Closes #63890 See merge request gitlab-org/gitlab-ce!30187
-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