mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Adds align support to non-sortable list column headers (#3638)
Credit to @Szasza
This commit is contained in:
parent
68ee471d39
commit
157b08202b
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user