style: Used list view instead of table view for chore list command
This commit is contained in:
parent
8cd3a8cd7a
commit
2cbcfcd54e
@ -1,7 +1,7 @@
|
||||
{{ 'Chore' }} {{ '%15s'|format('') }} {{ 'Next estimated tracking' }} {{ '%15s'|format('') }} {{ 'Last tracked' }}
|
||||
{%- for chore in grocy.chores %}
|
||||
{{ chore.fields.name }} {{ '%15s'|format('') }}{%- if '2999-' in chore.fields.next_estimated_execution_time or 'Never' in chore.fields.next_estimated_execution_time %} {{'%10s'|format('---')}}
|
||||
{%- else %} {{chore.fields.next_estimated_execution_time}} {%endif%} {{'%15s'|format('')}}
|
||||
{%- if not chore.fields.last_tracked_time %} {{'%20s'|format('None')}}
|
||||
{%- else %} {{chore.fields.last_tracked_time}}{%endif%}
|
||||
{%- for chore in grocy.fields %}
|
||||
id: {{ chore.id }}
|
||||
name: {{ chore.name }}{%- if '2999-' in chore.next_estimated_execution_time or 'Never' in chore.next_estimated_execution_time %}
|
||||
next_estimated_execution_time: {{ chore.next_estimated_execution_time }} {%- else %}{% endif %}{%- if chore.last_tracked_time %}
|
||||
last_tracked_time: {{ chore.last_tracked_time }} {% endif %}
|
||||
---
|
||||
{%- if loop.nextitem %}{% endif %}{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user