commit 0b85beec9702779109558dea7b5b5d726f4d87fd Author: Joel Pittet Date: Sun Sep 22 11:39:43 2013 +0200 space cleanup and docs diff --git a/core/modules/simpletest/templates/simpletest-test-table.html.twig b/core/modules/simpletest/templates/simpletest-test-table.html.twig index a1e0758..c99fbc4 100644 --- a/core/modules/simpletest/templates/simpletest-test-table.html.twig +++ b/core/modules/simpletest/templates/simpletest-test-table.html.twig @@ -4,9 +4,17 @@ * Default theme implementation for the content of simpletest test table. * * Available variables: - * - table: A simpletest table. + * - test_groups: A list of test groups. Each test_group contains: + * - test_class: The class identifier for the test group. + * - label: The label of the test group. + * - tests: A list of tests within the test group. Each test contains: + * - attributes: HTML attributes for the containing element. + * - field: The field element to select the test. + * - id: A unique identifier for the test's field. + * - title: The title of the test. + * - description: A description of the test. + * * - * @see template_preprocess() * @see template_preprocess_simpletest_test_table() * * @ingroup themeable @@ -14,33 +22,33 @@ #} - - - - - + + + + + - {% for test_group in test_groups %} - - - - - - {% for test in test_group.tests %} - - - - - - {% endfor %} - {% else %} - - + {% for test_group in test_groups %} + + + + + + {% for test in test_group.tests %} + + + + {% endfor %} + {% else %} + + + + {% endfor %}
{{ 'Test'|t }}{{ 'Description'|t }}
{{ 'Test'|t }}{{ 'Description'|t }}
-
- -
 
{{ test.field }}
{{ test.description }}
{{ 'No tests to display.'|t }}
+
+ +
 
{{ test.field }}
{{ test.description }}
{{ 'No tests to display.'|t }}