mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Fixes #669 - Labels in filter do not translate
This commit is contained in:
parent
062ce2f50a
commit
f03db8be5d
@ -3,5 +3,5 @@
|
||||
class="filter-scope checkbox custom-checkbox"
|
||||
data-scope-name="<?= $scope->scopeName ?>">
|
||||
<input type="checkbox" id="<?= $scope->getId() ?>" <?= $scope->value ? 'checked' : '' ?> />
|
||||
<label for="<?= $scope->getId() ?>"><?= e($scope->label) ?></label>
|
||||
<label for="<?= $scope->getId() ?>"><?= e(trans($scope->label)) ?></label>
|
||||
</div>
|
||||
|
@ -3,6 +3,6 @@
|
||||
class="filter-scope <?= $scope->value ? 'active' : '' ?>"
|
||||
href="javascript:;"
|
||||
data-scope-name="<?= $scope->scopeName ?>">
|
||||
<span class="filter-label"><?= e($scope->label) ?>:</span>
|
||||
<span class="filter-label"><?= e(trans($scope->label)) ?>:</span>
|
||||
<span class="filter-setting"><?= $scope->value ? count($scope->value) : e(trans('backend::lang.filter.all')) ?></span>
|
||||
</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user