Commit f8558fdb authored by Thomas Richter's avatar Thomas Richter
Browse files

properties changed due-to warehouseMapper changes

(applies to version 0.12)
parent 5a2efe65
......@@ -5,19 +5,19 @@
<div>
<div style="display: table; border: 1px solid black;">
<div style="display: table-row">
<div style="display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;">{{'warehouse.country' | translate }}</div>
<div style="display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;">{{'warehouse.location' | translate }}</div>
<div style="display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;">{{'warehouse.description' | translate }}</div>
<div style="display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;">{{'warehouse.capacity' | translate }}</div>
<div style="display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;">{{'warehouse.warehouseId' | translate }}</div>
<div style="display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;">{{'warehouse.warehouseLocation' | translate }}</div>
<div style="display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;">{{'warehouse.warehouseDescription' | translate }}</div>
<div style="display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;">{{'warehouse.warehouseCapacity' | translate }}</div>
</div>
</div>
<div style="display: table; border: 1px solid black;">
<div *ngFor=" let warehouse of warehousesInputVariable">
<div style="display: table-row">
<div style="display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;">{{warehouse?.name}}</div>
<div style="display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;">{{warehouse?.location}}</div>
<div style="display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;">{{warehouse?.description}}</div>
<div style="display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;">{{warehouse?.capacity}}</div>
<div style="display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;">{{warehouse?.warehouseId}}</div>
<div style="display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;">{{warehouse?.warehouseLocation}}</div>
<div style="display: table-cell; width: 190px; background: #eeeeee; padding: 5px; border-right: 1px solid black;">{{warehouse?.warehouseDescription}}</div>
<div style="display: table-cell; width: 190px; background: #dddddd; padding: 5px; border-right: 1px solid black;">{{warehouse?.warehouseCapacity}}</div>
</div>
</div>
</div>
......@@ -30,16 +30,16 @@
<h3 translate>warehouse.title</h3>
<table border [cellPadding]="10">
<tr>
<th>{{ 'warehouse.country' | translate }}</th>
<th translate>warehouse.location</th>
<th translate>warehouse.description</th>
<th translate>warehouse.capacity</th>
<th>{{ 'warehouse.warehouseId' | translate }}</th>
<th translate>warehouse.warehouseLocation</th>
<th translate>warehouse.warehouseDescription</th>
<th translate>warehouse.warehouseCapacity</th>
</tr>
<tr *ngFor="let warehouse of warehousesInputVariable; let even=even" [ngStyle]="{'background-color': !!even ? '#EEEEEE' : 'white'}">
<td>{{warehouse.name}}</td>
<td>{{warehouse.location}}</td>
<td>{{warehouse.description}}</td>
<td>{{warehouse.capacity}}</td>
<td>{{warehouse.warehouseId}}</td>
<td>{{warehouse.warehouseLocation}}</td>
<td>{{warehouse.warehouseDescription}}</td>
<td>{{warehouse.warehouseCapacity}}</td>
</tr>
</table>
</div>
......@@ -51,18 +51,18 @@
<table class="table table-striped">
<thead>
<tr>
<th>{{ 'warehouse.country' | translate }}</th>
<th translate>warehouse.location</th>
<th translate>warehouse.description</th>
<th translate>warehouse.capacity</th>
<th>{{ 'warehouse.warehouseId' | translate }}</th>
<th translate>warehouse.warehouseLocation</th>
<th translate>warehouse.warehouseDescription</th>
<th translate>warehouse.warehouseCapacity</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let warehouse of warehousesInputVariable">
<td>{{ warehouse.name }}</td>
<td>{{ warehouse.location }}</td>
<td translate>{{ warehouse.description }}</td>
<td>{{ warehouse.capacity }}</td>
<td>{{ warehouse.warehouseId }}</td>
<td>{{ warehouse.warehouseLocation }}</td>
<td translate>{{ warehouse.warehouseDescription }}</td>
<td>{{ warehouse.warehouseCapacity }}</td>
</tr>
</tbody>
</table>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment