Add sub-category and part count

This commit is contained in:
Oliver Walters 2019-09-20 00:00:34 +10:00
parent 508a3fc35c
commit 5a9e5dea20

View File

@ -52,6 +52,14 @@
<td>{{ category.default_keywords }}</td>
</tr>
{% endif %}
<tr>
<td>Subcategories</td>
<td>{{ category.children.count }}</td>
</tr>
<tr>
<td>Parts (Including subcategories)</td>
<td>{{ category.partcount }}</td>
</tr>
</table>
{% endif %}
</div>