{% if sync_status.get('is_syncing') %} Syncing... {% elif sync_status.get('last_sync') %} Last sync: {{ sync_status.get('last_sync', '')[:19].replace('T', ' ') }} {% else %} Not synced yet {% endif %} {% if sync_status.get('error') %} ⚠ {{ sync_status.get('error')[:50] }} {% endif %}