From 6e82c9208d25d74720ace2f16fc90fdc8d611e5d Mon Sep 17 00:00:00 2001 From: Clement Ho Date: Fri, 13 Apr 2018 15:28:47 -0500 Subject: [PATCH] [skip ci] Fix label headers for issue boards, rename to badge --- app/views/shared/boards/components/_board.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/boards/components/_board.html.haml b/app/views/shared/boards/components/_board.html.haml index e8f59460d79..9bde80f4b51 100644 --- a/app/views/shared/boards/components/_board.html.haml +++ b/app/views/shared/boards/components/_board.html.haml @@ -14,7 +14,7 @@ %span.has-tooltip{ "v-if": "list.type === \"label\"", ":title" => '(list.label ? list.label.description : "")', data: { container: "body", placement: "bottom" }, - class: "label color-label title board-title-text", + class: "badge 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\") }" } {{ list.title }} - if can?(current_user, :admin_list, current_board_parent)