summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-11-15 19:50:36 +0000
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-11-15 19:50:36 +0000
commit58c6937c236cfd2475727e89cf0004d5fa072883 (patch)
tree9b6a220a49b3ffc9d590d76e77c708762c946f5e
parent0f5faea404ab514917adf06768f1a0991482b5b5 (diff)
downloadgitlab-ce-36983-issue-boards-list-heading-label-chooses-wrong-text-color.tar.gz
Fix text_color to textColor for board header label colour36983-issue-boards-list-heading-label-chooses-wrong-text-color
-rw-r--r--app/views/shared/boards/components/_board.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/boards/components/_board.html.haml b/app/views/shared/boards/components/_board.html.haml
index c687e66fd43..d1208f068eb 100644
--- a/app/views/shared/boards/components/_board.html.haml
+++ b/app/views/shared/boards/components/_board.html.haml
@@ -15,7 +15,7 @@
":title" => '(list.label ? list.label.description : "")',
data: { container: "body", placement: "bottom" },
class: "label color-label title board-title-text",
- ":style" => "{ backgroundColor: (list.label && list.label.color ? list.label.color : null), color: (list.label && list.label.color ? list.label.text_color : \"#2e2e2e\") }" }
+ ":style" => "{ backgroundColor: (list.label && list.label.color ? list.label.color : null), color: (list.label && list.label.textColor ? list.label.textColor : \"#2e2e2e\") }" }
{{ list.title }}
- if can?(current_user, :admin_list, current_board_parent)
%board-delete{ "inline-template" => true,