configurationengine/source/scripts/tests/testdata/info/custom_value_report_template.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/configurationengine/source/scripts/tests/testdata/info/custom_value_report_template.html Thu Mar 11 17:04:37 2010 +0200
@@ -0,0 +1,32 @@
+{% extends "cone_base.html" %}
+{% block title %}Data value info{% endblock %}
+{% block content %}
+ <h1>Configuration data value info (custom template)</h1><br>
+
+ <table class="report">
+ <tr>
+ <th class="featureName">Ref</th>
+ <th class="featureName">Name</th>
+ <th class="featureName">Type</th>
+ {% for config in data.value_data.configs %}
+ <th class="featureName">{{ config.path }}</th>
+ {% endfor %}
+ </tr>
+ {% for feature_group in data.value_data.feature_groups %}
+ <tr><th colspan="{{ data.value_data.configs | length + 3 }}">{{ feature_group.name }}</th></tr>
+ {% for feature in feature_group.features %}
+ {% if feature.modified %}<tr bgcolor="#CCCCFF">{% else %}<tr>{% endif %}
+ <td>{{ feature.ref }}</td>
+ <td>{{ feature.name }}</td>
+ <td>{{ feature.type }}</td>
+
+ {% for config in data.value_data.configs %}
+ <td>{{ config.values[feature.ref] }}</td>
+ {% endfor %}
+
+ </tr>
+ {% endfor -%}
+ {% endfor %}
+
+ </table>
+{% endblock %}
\ No newline at end of file