added parent is_productive field

This commit is contained in:
2025-02-02 18:47:35 +01:00
parent 3b4ae7a55a
commit 6ff3f05272
10 changed files with 106 additions and 14 deletions

View File

@ -3,8 +3,10 @@
{% block title %}Parents{% endblock %}
{% block element_name %}parent{% endblock %}
{% block extra-head %}
<link rel="stylesheet" href="{% static "parents.css" %}">
<script src="{% static "parents.js" %}"></script>
{% endblock %}
{% block extra-class %}{% if element.is_productive %}productive{% endif %}{% endblock %}
{% block element %}
<div class="name">{{ element.name }}</div>
<div class="project_num">({{ element.project_num }})</div>