Added activity model to keep track of changes to items
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2022-12-04 01:05:24 -05:00
parent 6024a1fe7f
commit b8700c1ba3
4 changed files with 59 additions and 0 deletions

View File

@ -44,4 +44,19 @@
</table>
</section>
<hr>
<section id="item-activity" class="row">
<h2>Recorded activity</h2>
{% if item.activities | length > 0 %}
<ul class="twelve columns">
{% for a in item.activities %}
<li><p>{{ a.render() }}</p></li>
{% endfor %}
</ul>
{% else %}
<p>There hasn't been any activity recorded for this item.</p>
{% endif %}
</section>
{% endblock %}