Ticket descriptor bug
This commit is contained in:
parent
13e221f98f
commit
a82260d4fb
|
@ -1,7 +1,7 @@
|
||||||
<vn-main-block>
|
<vn-main-block>
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
<vn-auto margin-medium-v class="left-block">
|
<vn-auto margin-medium-v class="left-block">
|
||||||
<vn-item-descriptor ticket="$ctrl.ticket"></vn-ticket-descriptor>
|
<vn-ticket-descriptor ticket="$ctrl.ticket"></vn-ticket-descriptor>
|
||||||
<vn-left-menu></vn-left-menu>
|
<vn-left-menu></vn-left-menu>
|
||||||
</vn-auto>
|
</vn-auto>
|
||||||
<vn-one>
|
<vn-one>
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
<vn-card margin-medium-v class="vn-descriptor">
|
||||||
|
<vn-horizontal class="header">
|
||||||
|
<a translate-attr="{title: 'Return to module index'}" ui-sref="ticket.list">
|
||||||
|
<vn-icon icon="chevron_left"></vn-icon>
|
||||||
|
</a>
|
||||||
|
<vn-icon icon="icon-ticket"></vn-icon>
|
||||||
|
<a translate-attr="{title: 'Preview'}" ui-sref="ticket.card.summary">
|
||||||
|
<vn-icon icon="desktop_windows"></vn-icon>
|
||||||
|
</a>
|
||||||
|
</vn-horizontal>
|
||||||
|
<vn-vertical>
|
||||||
|
<vn-auto pad-medium>
|
||||||
|
|
||||||
|
</vn-auto>
|
||||||
|
</vn-vertical>
|
||||||
|
</vn-card>
|
|
@ -0,0 +1,8 @@
|
||||||
|
import ngModule from '../module';
|
||||||
|
|
||||||
|
ngModule.component('vnTicketDescriptor', {
|
||||||
|
template: require('./descriptor.html'),
|
||||||
|
bindings: {
|
||||||
|
ticket: '<'
|
||||||
|
}
|
||||||
|
});
|
|
@ -3,7 +3,9 @@ export * from './module';
|
||||||
import './list/ticket-list';
|
import './list/ticket-list';
|
||||||
import './create/ticket-create';
|
import './create/ticket-create';
|
||||||
import './card/ticket-card';
|
import './card/ticket-card';
|
||||||
|
import './descriptor/descriptor';
|
||||||
import './summary/ticket-summary';
|
import './summary/ticket-summary';
|
||||||
|
import './data/data';
|
||||||
import './data/step-one/step-one';
|
import './data/step-one/step-one';
|
||||||
import './data/step-two/step-two';
|
import './data/step-two/step-two';
|
||||||
import './data/step-three/step-three';
|
import './data/step-three/step-three';
|
||||||
|
|
Loading…
Reference in New Issue