templates/duplicate_copy_metadata.html (29 lines of code) (raw):
<p>The following {{ plural('bug has', data, pword='bugs have') }} fields that we copied from their duplicate bugs:</p>
<table {{ table_attrs }}>
<thead>
<tr>
<th>Bug</th>
<th>Summary</th>
<th>Copied Fields</th>
</tr>
</thead>
<tbody>
{% for i, (bugid, summary, copied_fields) in enumerate(data) -%}
<tr {% if i % 2 == 0 %}bgcolor="#E0E0E0"
{% endif -%}
>
<td>
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id={{ bugid }}">{{ bugid }}</a>
</td>
<td>{{ summary | e }}</td>
<td>
<ul style="padding: 0; margin: 0">
{% for field, value, _ in copied_fields -%}
<li>{{ field }}: {{ value }}</li>
{% endfor -%}
</ul>
</td>
</tr>
{% endfor -%}
</tbody>
</table>