AW-784 Reapply from Farmmaps commits

- cd035366: AW-718 Layout as requested by Thomas.
This commit is contained in:
Peter Bastiani 2019-12-20 09:50:21 +01:00
parent f66428d04c
commit 76a44a8f95

View File

@ -3,11 +3,15 @@
<div class="card border-0"> <div class="card border-0">
<div class="card-body"> <div class="card-body">
<div><a href="#" (click)="handleBackToList($event)" i18n>Back</a></div> <div><a href="#" (click)="handleBackToList($event)" i18n>Back</a></div>
<h4>Cropfield</h4> <div class="card menu-card">
<h1>{{item.name}}</h1> <h1>Cropfield</h1>
<div>{{item.data.cropTypeName}}</div> <h4>{{item.name}}</h4>
<div><span>{{item.data.startDate|date}}</span> - <span>{{item.data.endDate|date}}</span> </div> <div>{{item.data.cropTypeName}}</div>
<div class="mt-1"><a href="#" (click)="handleOnEdit(item)" i18n><i class="fa fa-pencil" aria-hidden="true" title="Edit"></i> Edit</a></div> <div><span>{{item.data.startDate|date}}</span> - <span>{{item.data.endDate|date}}</span> </div>
<ul class="p-0 mt-2">
<li><a href="#" (click)="handleOnEdit(item)" i18n><i class="fa fa-pencil" aria-hidden="true" title="Edit"></i> Edit</a></li>
</ul>
</div>
</div> </div>
<fm-map-item-list [items]="(items|async)"></fm-map-item-list> <fm-map-item-list [items]="(items|async)"></fm-map-item-list>
<fm-map-item-widget-list [item]="item"></fm-map-item-widget-list> <fm-map-item-widget-list [item]="item"></fm-map-item-widget-list>