{% extends 'base.html.twig' %} {% block nav_title %}  Platform - AGS line items details{% endblock %} {% block body %}
Identifier
{{ lineItem.identifier }}
Resource identifier
{{ lineItem.resourceIdentifier|default('n/a') }}
Score maximum
{{ lineItem.scoreMaximum }}
Start date
{{ lineItem.startDateTime|format('Y-m-d H:i')|default('n/a') }}
AGS line item service url
{{ lineItem.identifier }}
AGS line item container service url
{{ lineItem.identifier|split('/')|slice(0, -1)|join('/') }}
Label
{{ lineItem.label }}
Resource link identifier
{{ lineItem.resourceLinkIdentifier|default('n/a') }}
Tag
{{ lineItem.tag|default('n/a') }}
End date
{{ lineItem.endDateTime|format('Y-m-d H:i')|default('n/a') }}
Scores
{{ scores|length }}
Results
{{ results|length }}
Additional properties
{% if lineItem.additionalProperties.all|length != 0 %}
                                    {{ lineItem.additionalProperties.all|json_encode(constant('JSON_PRETTY_PRINT') + constant('JSON_UNESCAPED_SLASHES')) }}
                                
{% else %} n/a {% endif %}
{% if scores|length != 0 %}
                        {{ scores|json_encode(constant('JSON_PRETTY_PRINT') + constant('JSON_UNESCAPED_SLASHES')) }}
                    
{% else %} {% endif %}
{% if results|length != 0 %}
                        {{ results|json_encode(constant('JSON_PRETTY_PRINT') + constant('JSON_UNESCAPED_SLASHES')) }}
                    
{% else %} {% endif %}
{% endblock body %} {% block scripts %} {% endblock %}