Adds align support to non-sortable list column headers (#3638)

Credit to @Szasza
This commit is contained in:
Szabolcs Palmer 2018-07-15 14:56:09 +10:00 committed by Luke Towers
parent 68ee471d39
commit 157b08202b

View File

@ -31,7 +31,7 @@
<?php else: ?> <?php else: ?>
<th <th
<?php if ($column->width): ?>style="width: <?= $column->width ?>"<?php endif ?> <?php if ($column->width): ?>style="width: <?= $column->width ?>"<?php endif ?>
class="list-cell-name-<?= $column->getName() ?> list-cell-type-<?= $column->type ?>" class="list-cell-name-<?= $column->getName() ?> list-cell-type-<?= $column->type ?> <?= $column->getAlignClass() ?>"
> >
<span><?= $this->getHeaderValue($column) ?></span> <span><?= $this->getHeaderValue($column) ?></span>
</th> </th>