mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Make it possible to disable chores/tasks/batteries due soon filters/highlighting (closes #1485)
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
<div id="info-due-soon-batteries"
|
||||
data-status-filter="duesoon"
|
||||
data-next-x-days="{{ $nextXDays }}"
|
||||
class="warning-message status-filter-message responsive-button"></div>
|
||||
class="warning-message status-filter-message responsive-button @if($nextXDays == 0) d-none @endif"></div>
|
||||
<div class="float-right">
|
||||
<a class="btn btn-sm btn-outline-info d-md-none mt-1"
|
||||
data-toggle="collapse"
|
||||
@@ -79,7 +79,9 @@
|
||||
<option value="all">{{ $__t('All') }}</option>
|
||||
<option value="overdue">{{ $__t('Overdue') }}</option>
|
||||
<option value="duetoday">{{ $__t('Due today') }}</option>
|
||||
@if($nextXDays > 0)
|
||||
<option value="duesoon">{{ $__t('Due soon') }}</option>
|
||||
@endif
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user