diff --git a/templates/admin/event/speakers_management.html.twig b/templates/admin/event/speakers_management.html.twig index 510b1cbfc..d871541b1 100644 --- a/templates/admin/event/speakers_management.html.twig +++ b/templates/admin/event/speakers_management.html.twig @@ -17,6 +17,7 @@ Nuit d'hotel entre les deux jours ? Nuit d'hotel après l'évènement ? Pas de nuit d'hotel ? + Défraiement voyage nécessaire ? Sponsors ? Justificatifs envoyés ? Microphone @@ -121,6 +122,15 @@ {% endif %} + + + {% if speaker.speaker.travelRefundNeeded %} + oui + {% else %} + non + {% endif %} + + {% if not speaker.speaker.travelRefundSponsored and not speaker.speaker.hasHostingSponsor %} non @@ -166,7 +176,7 @@ {% else %} - +
Aucune information. {% if event == null %}Essayez de changez d'évènement !{% endif %} diff --git a/tests/behat/features/Admin/AdminInfosSpeakers.feature b/tests/behat/features/Admin/AdminInfosSpeakers.feature index 0979c5eed..b0f8fa9aa 100644 --- a/tests/behat/features/Admin/AdminInfosSpeakers.feature +++ b/tests/behat/features/Admin/AdminInfosSpeakers.feature @@ -12,6 +12,7 @@ Feature: Administration - Partie Infos Speakers And I follow "afup-main-menu-item--admin_event_speakers_management" Then the ".content h2" element should contain "Infos speakers" And the ".content table" element should contain "Geoffrey BACHELET" + And the ".content table" element should contain "Défraiement voyage nécessaire ?" When I follow the button of tooltip "Voir sa page" Then I should see "Ma page speaker : forum" And I should see "Nous vous hébergeons"