28 lines
1.0 KiB
HTML
Raw Permalink Normal View History

2025-01-26 00:53:17 +01:00
{% extends "list.html" %}
{% load static %}
{% block title %}Parents{% endblock %}
2025-02-02 15:33:11 +01:00
{% block extra-head %}
2025-02-02 18:47:35 +01:00
<link rel="stylesheet" href="{% static "parents.css" %}">
2025-02-02 22:43:52 +01:00
<script src="{% static "parents.js" %}"></script>
2025-02-02 15:33:11 +01:00
{% endblock %}
2025-02-02 18:47:35 +01:00
{% block extra-class %}{% if element.is_productive %}productive{% endif %}{% endblock %}
2025-02-02 22:43:52 +01:00
{% block element-name %}{{ element.name }}{% endblock %}
2025-01-26 00:53:17 +01:00
{% block element %}
<div class="name">{{ element.name }}</div>
{% if element.project_num %}
<div class="project_num">({{ element.project_num }})</div>
{% endif %}
2025-01-26 00:53:17 +01:00
{% endblock %}
{% block actions %}
<button class="edit">Edit</button>
2025-02-02 22:43:52 +01:00
<button class="delete">Delete</button>
{% endblock %}
{% block delete-desc %}
Are sure you want to delete <span class="elmt-name"></span> ?
This action is <u>IRREVERSIBLE</u> ! By deleting this element, you will also delete:
<ul>
<li><span class="project-count"></span> project(s)</li>
<li><span class="task-count"></span> task imputation(s)</li>
</ul>
{% endblock %}