{% if externalContestSource.username %} {% endif %} {% if externalContestSource.password %} {% endif %} {% if sourceService.validContestSource and sourceService.apiVersion %} {% endif %}
ID {{ externalContestSource.extsourceid }}
Source {{ externalContestSource.getReadableType }} at {{ externalContestSource.source }}
Username {{ externalContestSource.username }}
Password •••••••• {{ externalContestSource.password }}
Command {{ webappDir }}/bin/console import:eventfeed {{ current_contest.cid }}
Status {% if not externalContestSource.lastPollTime %} Event feed reader never checked in. {% elseif externalContestSource.lastHTTPCode is not same as(200) %} Received {{ externalContestSource.lastHTTPCode }} HTTP code. {% else %} {{ status }}, last checked in {{ externalContestSource.lastPollTime | printtimediff }}s ago. {% endif %}
Last event ID {{ externalContestSource.lastEventId | default('-') }}
External provider information Version: {% if sourceService.apiVersionUrl %} {{ sourceService.apiVersion }} {% else %} {{ sourceService.apiVersion }} {% endif %}
{% if sourceService.apiProviderName %} Provider name: {{ sourceService.apiProviderName }}
{% endif %} {% if sourceService.apiProviderVersion %} Provider version: {{ sourceService.apiProviderVersion }}
{% endif %} {% if sourceService.apiProviderBuildDate %} Provider build date: {{ sourceService.apiProviderBuildDate }}
{% endif %}
External contest information Valid: {{ sourceService.validContestSource | printYesNo }}
{% if not sourceService.validContestSource %} Error: {{ sourceService.loadingError }} {% else %} ID: {{ sourceService.contestId }}
Name: {{ sourceService.contestName }}
Start time: {{ sourceService.contestStartTime | printtime('Y-m-d H:i:s (T)') }}
Duration: {{ sourceService.contestDuration }} {% endif %}