=== modified file 'dashboard_app/extension.py'
@@ -36,6 +36,10 @@
return "dashboard_app.views.index"
@property
+ def front_page_template(self):
+ return "dashboard_app/front_page_snippet.html"
+
+ @property
def description(self):
return "Validation Dashboard"
=== added file 'dashboard_app/templates/dashboard_app/front_page_snippet.html'
@@ -0,0 +1,10 @@
+<p>Click on image description to see automatic QA report</p>
+{% regroup dashboard.interesting_images by rootfs_type as rootfs_list %}
+{% for rootfs in rootfs_list %}
+<h4>{{ rootfs.grouper|capfirst }}</h4>
+<ul>
+ {% for image_health in rootfs.list %}
+ <li><a href="{{ image_health.get_absolute_url }}">{{ image_health.rootfs_type }} + {{ image_health.hwpack_type }}</a></li>
+ {% endfor %}
+</ul>
+{% endfor %}