commit e297ad5439a09d76f279e949cc746d9c8c6ecb22 Author: Joel Pittet Date: Thu Aug 29 16:22:39 2013 -0700 twig template docs and cleanup diff --git a/core/modules/simpletest/templates/simpletest-test-table.html.twig b/core/modules/simpletest/templates/simpletest-test-table.html.twig index a1e0758..e725f0a 100644 --- a/core/modules/simpletest/templates/simpletest-test-table.html.twig +++ b/core/modules/simpletest/templates/simpletest-test-table.html.twig @@ -4,9 +4,16 @@ * Default theme implementation for the content of simpletest test table. * * Available variables: - * - table: A simpletest table. + * - test_groups: A list of test groups. + * - label: The test group label. + * - test_class: The test group class name. + * - tests: A list of tests in the group. Each containing: + * - attributes: The test row HTML attributes. + * - id: The checkbox field's ID. + * - field: The checkbox form field to select the test. + * - title: Thte test title. + * - description: the test description. * - * @see template_preprocess() * @see template_preprocess_simpletest_test_table() * * @ingroup themeable @@ -14,33 +21,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 }}