1*bec4ebc2SBrad Bishop{% extends "report-base.html.jinja" %} 2*bec4ebc2SBrad Bishop{% block title %}Recipe Report{% endblock %} 3*bec4ebc2SBrad Bishop 4*bec4ebc2SBrad Bishop{% block content %} 5*bec4ebc2SBrad Bishop <table class="table is-striped"> 6*bec4ebc2SBrad Bishop <thead> 7*bec4ebc2SBrad Bishop <tr> 8*bec4ebc2SBrad Bishop <th>Machine</th> 9*bec4ebc2SBrad Bishop {% for recipe in recipes|sort %} 10*bec4ebc2SBrad Bishop <th>{{ recipe }} ({{releases[recipe]|default("?")}})</th> 11*bec4ebc2SBrad Bishop {% endfor %} 12*bec4ebc2SBrad Bishop </tr> 13*bec4ebc2SBrad Bishop </thead> 14*bec4ebc2SBrad Bishop <tbody> 15*bec4ebc2SBrad Bishop {% for machine, data in data|dictsort %} 16*bec4ebc2SBrad Bishop <tr> 17*bec4ebc2SBrad Bishop <th><a href="{{machine}}.html">{{ machine }}</a></th> 18*bec4ebc2SBrad Bishop {% for recipe in recipes|sort %} 19*bec4ebc2SBrad Bishop {% if recipe in data %} 20*bec4ebc2SBrad Bishop {% set details = data[recipe] %} 21*bec4ebc2SBrad Bishop <td style="text-align: center"> 22*bec4ebc2SBrad Bishop <a href="{{machine}}.html#recipe-{{details.recipe}}"> 23*bec4ebc2SBrad Bishop {{ details.recipe if details.recipe != recipe}} 24*bec4ebc2SBrad Bishop {{ details.version }} 25*bec4ebc2SBrad Bishop </a> 26*bec4ebc2SBrad Bishop {% if details.patches or details.needs_update %} 27*bec4ebc2SBrad Bishop <br> 28*bec4ebc2SBrad Bishop {% if details.patches %} 29*bec4ebc2SBrad Bishop <span class="tag {{ "is-info" if details.patches_safe else "is-danger" }}"> 30*bec4ebc2SBrad Bishop {% trans count=details.patches|length %} 31*bec4ebc2SBrad Bishop {{ count }} Patch 32*bec4ebc2SBrad Bishop {% pluralize %} 33*bec4ebc2SBrad Bishop {{ count }} Patches 34*bec4ebc2SBrad Bishop {% endtrans %} 35*bec4ebc2SBrad Bishop </span> 36*bec4ebc2SBrad Bishop {% endif %} 37*bec4ebc2SBrad Bishop {% if details.needs_update %} 38*bec4ebc2SBrad Bishop <span class="tag is-danger">Upgrade</span> 39*bec4ebc2SBrad Bishop {% endif %} 40*bec4ebc2SBrad Bishop {% endif %} 41*bec4ebc2SBrad Bishop </td> 42*bec4ebc2SBrad Bishop {% else %} 43*bec4ebc2SBrad Bishop <td>-</td> 44*bec4ebc2SBrad Bishop {% endif %} 45*bec4ebc2SBrad Bishop {% endfor %} 46*bec4ebc2SBrad Bishop </tr> 47*bec4ebc2SBrad Bishop {% endfor %} 48*bec4ebc2SBrad Bishop </tbody> 49*bec4ebc2SBrad Bishop </table> 50*bec4ebc2SBrad Bishop{% endblock %} 51