From a82260d4fb77d24dce893686793625612e648146 Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 10 Apr 2018 07:39:43 +0200 Subject: [PATCH] Ticket descriptor bug --- client/ticket/src/card/ticket-card.html | 2 +- client/ticket/src/descriptor/descriptor.html | 16 ++++++++++++++++ client/ticket/src/descriptor/descriptor.js | 8 ++++++++ client/ticket/src/ticket.js | 2 ++ 4 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 client/ticket/src/descriptor/descriptor.html create mode 100644 client/ticket/src/descriptor/descriptor.js diff --git a/client/ticket/src/card/ticket-card.html b/client/ticket/src/card/ticket-card.html index 266252ee5..5c4db119f 100644 --- a/client/ticket/src/card/ticket-card.html +++ b/client/ticket/src/card/ticket-card.html @@ -1,7 +1,7 @@ - + diff --git a/client/ticket/src/descriptor/descriptor.html b/client/ticket/src/descriptor/descriptor.html new file mode 100644 index 000000000..7673fc42d --- /dev/null +++ b/client/ticket/src/descriptor/descriptor.html @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/client/ticket/src/descriptor/descriptor.js b/client/ticket/src/descriptor/descriptor.js new file mode 100644 index 000000000..907e6ea09 --- /dev/null +++ b/client/ticket/src/descriptor/descriptor.js @@ -0,0 +1,8 @@ +import ngModule from '../module'; + +ngModule.component('vnTicketDescriptor', { + template: require('./descriptor.html'), + bindings: { + ticket: '<' + } +}); diff --git a/client/ticket/src/ticket.js b/client/ticket/src/ticket.js index 0c2486ca1..765a92490 100644 --- a/client/ticket/src/ticket.js +++ b/client/ticket/src/ticket.js @@ -3,7 +3,9 @@ export * from './module'; import './list/ticket-list'; import './create/ticket-create'; import './card/ticket-card'; +import './descriptor/descriptor'; import './summary/ticket-summary'; +import './data/data'; import './data/step-one/step-one'; import './data/step-two/step-two'; import './data/step-three/step-three';