40 lines
1.2 KiB
HTML
40 lines
1.2 KiB
HTML
|
<vn-descriptor-content
|
||
|
module="route"
|
||
|
base-state="route.roadmap"
|
||
|
description="$ctrl.roadmap.name">
|
||
|
<slot-menu>
|
||
|
<vn-item
|
||
|
ng-click="deleteRoadmap.show()"
|
||
|
name="deleteRoadmap"
|
||
|
translate>
|
||
|
Delete roadmap
|
||
|
</vn-item>
|
||
|
</slot-menu>
|
||
|
<slot-body>
|
||
|
<div class="attributes">
|
||
|
<vn-label-value
|
||
|
label="Roadmap"
|
||
|
value="{{$ctrl.roadmap.name}}">
|
||
|
</vn-label-value>
|
||
|
<vn-label-value
|
||
|
label="ETD"
|
||
|
value="{{$ctrl.roadmap.etd | date:'dd/MM/yyyy HH:mm'}}">
|
||
|
</vn-label-value>
|
||
|
<vn-label-value label="Carrier">
|
||
|
<span ng-click="supplierDescriptor.show($event, $ctrl.roadmap.supplier.id)" class="link">
|
||
|
{{$ctrl.roadmap.supplier.nickname}}
|
||
|
</span>
|
||
|
</vn-label-value>
|
||
|
</div>
|
||
|
</slot-body>
|
||
|
</vn-descriptor-content>
|
||
|
<vn-confirm
|
||
|
vn-id="deleteRoadmap"
|
||
|
on-accept="$ctrl.onDelete()"
|
||
|
question="Are you sure you want to continue?"
|
||
|
message="The roadmap will be removed">
|
||
|
</vn-confirm>
|
||
|
<vn-supplier-descriptor-popover
|
||
|
vn-id="supplierDescriptor">
|
||
|
</vn-supplier-descriptor-popover>
|