Skip to content
Snippets Groups Projects
Commit ce9c4dd4 authored by Robert Lange's avatar Robert Lange Committed by Dorian Merz
Browse files

refs #21265 [fid] order list: fix codestyles and make table responsive

* fix php short opening tag to display type header
parent 2502bf0c
No related merge requests found
<!-- fid: fid - order - list - entry -->
<?php foreach($this->displayCols as $col): ?>
<?php foreach ($this->displayCols as $col): ?>
<?php switch ($col):
case 'user': ?>
<td>
......@@ -29,7 +29,7 @@
<?php break; ?>
<?php case 'status': ?>
<td>
<?=$order->getStatus() ? $this->translate('fid::status_'.$order->getStatus()) : ''?>
<?=$order->getStatus() ? $this->translate('fid::status_' . $order->getStatus()) : ''?>
</td>
<?php break; ?>
<?php case 'dueDate': ?>
......
<!-- fid: fid - order - list - headers -->
<?php foreach($displayCols as $col): ?>
<?php foreach ($displayCols as $col): ?>
<?php switch ($col):
case 'user': ?>
<th><?=$this->translate('fid::order_user')?></th>
<?php break; ?>
<? case 'type': ?>
<?php case 'type': ?>
<th><?=$this->translate('fid::order_type')?></th>
<?php break; ?>
<?php case 'date': ?>
......
<!-- fid: fid - order - list - table -->
<table class="table">
<table class="table table-striped table-resp-data-md">
<?php /* Table head */ ?>
<tr>
<?=$this->render('fid/order/list/headers')?>
......
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