{% extends 'base.html.twig' %} {% block title %}Admin - Sources Google Sheet{% endblock %} {% block body %}

Administration

Sources Google Sheet

Fichiers utilisés comme sources de données pour les contacts, clients, collaborateurs, disponibilités et projets.

{% for message in app.flashes('success') %}
{{ message }}
{% endfor %}

Fichiers déclarés

{{ links|length }} source{{ links|length > 1 ? 's' : '' }} préparée{{ links|length > 1 ? 's' : '' }}.

{{ include('components/button.html.twig', { label: 'Ajouter une source', variant: 'primary', href: path('app_admin_google_sheet_link_new') }) }}
{% for link in links %} {% else %} {% endfor %}
Nom Usage Onglet Colonnes ignorées Synchro Dernier passage
{{ link.label }} {{ link.code }} {{ link.purpose }} {{ link.tabName ?: '-' }} {{ link.ignoredColumnsText ?: '-' }} {{ include('components/badge.html.twig', link.syncEnabled ? { label: 'Autorisée', tone: 'ok' } : { label: 'Désactivée', tone: 'neutral' }) }} {{ link.lastSyncedAt ? link.lastSyncedAt|date('d/m/Y H:i') : 'Jamais' }} {{ include('components/button.html.twig', { label: 'Modifier', variant: 'ghost', size: 'sm', href: path('app_admin_google_sheet_link_edit', { id: link.id }) }) }}
Aucune source Google Sheet déclarée.
{% endblock %}