Added activity model to keep track of changes to items
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@ -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 %}
|
||||
|
Reference in New Issue
Block a user