diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 94756ad5..165ceef3 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -255,19 +255,27 @@ {% for container in containers %} {% if container.GetDisplayName() != '' %}
  • - {% set displayName = container.GetDisplayName() %} - {% if container.GetDocumentation() != '' %} - {% set displayName = '' ~ displayName ~ '' %} - {% endif %} {% if class(container.GetStartingState()) == 'AIO\\Container\\State\\StartingState' %} - {{ displayName }} (Starting) + {{ container.GetDisplayName() }} (Starting) + {% if container.GetDocumentation() != '' %} + (docs) + {% endif %} + {% elseif class(container.GetRunningState()) == 'AIO\\Container\\State\\RunningState' %} - {{ displayName }} (Running) + {{ container.GetDisplayName() }} (Running) + {% if container.GetDocumentation() != '' %} + (docs) + {% endif %} + {% else %} - {{ displayName }} (Stopped) + {{ container.GetDisplayName() }} (Stopped) + {% if container.GetDocumentation() != '' %} + (docs) + {% endif %} + {% endif %}
  • {% endif %}