diff options
author | Phil Hughes <me@iamphill.com> | 2017-02-23 15:27:01 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-02-23 15:27:01 +0000 |
commit | 7512af29fc5fd94da2ac74a3188eb76b9a366c2a (patch) | |
tree | f70b63c02f0e9805f6880614508d64eea4c9f095 /app/views | |
parent | 8cc61d0b2a3507609665c3c5d3e8a475772c6b87 (diff) | |
download | gitlab-ce-7512af29fc5fd94da2ac74a3188eb76b9a366c2a.tar.gz |
Issue boards card in JS
Moved the issue boards card template into the JS. This helps to improve
the code coverage & will eventually make it easier to move this to .vue
files
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/boards/_show.html.haml | 1 | ||||
-rw-r--r-- | app/views/projects/boards/components/_card.html.haml | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/app/views/projects/boards/_show.html.haml b/app/views/projects/boards/_show.html.haml index f5ca9607823..b3bc6010efb 100644 --- a/app/views/projects/boards/_show.html.haml +++ b/app/views/projects/boards/_show.html.haml @@ -8,7 +8,6 @@ %script#js-board-template{ type: "text/x-template" }= render "projects/boards/components/board" %script#js-board-list-template{ type: "text/x-template" }= render "projects/boards/components/board_list" - %script#js-board-list-card{ type: "text/x-template" }= render "projects/boards/components/card" = render "projects/issues/head" diff --git a/app/views/projects/boards/components/_card.html.haml b/app/views/projects/boards/components/_card.html.haml deleted file mode 100644 index 891c2c46251..00000000000 --- a/app/views/projects/boards/components/_card.html.haml +++ /dev/null @@ -1,10 +0,0 @@ -%li.card{ ":class" => '{ "user-can-drag": !disabled && issue.id, "is-disabled": disabled || !issue.id, "is-active": issueDetailVisible }', - ":index" => "index", - ":data-issue-id" => "issue.id", - "@mousedown" => "mouseDown", - "@mousemove" => "mouseMove", - "@mouseup" => "showIssue($event)" } - %issue-card-inner{ ":list" => "list", - ":issue" => "issue", - ":issue-link-base" => "issueLinkBase", - ":root-path" => "rootPath" } |