Implement tasks
This commit is contained in:
27
core/templates/pages/tasks-project.html
Normal file
27
core/templates/pages/tasks-project.html
Normal file
@@ -0,0 +1,27 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<section class="section"><div class="container">
|
||||
<h1 class="title is-4">Project: {{ project.name }}</h1>
|
||||
<div class="buttons"><a class="button is-small is-light" href="{% url 'tasks_hub' %}">Back</a></div>
|
||||
<article class="box">
|
||||
<h2 class="title is-6">Epics</h2>
|
||||
<ul>
|
||||
{% for epic in epics %}
|
||||
<li><a href="{% url 'tasks_epic' epic_id=epic.id %}">{{ epic.name }}</a></li>
|
||||
{% empty %}
|
||||
<li>No epics.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</article>
|
||||
<article class="box">
|
||||
<h2 class="title is-6">Tasks</h2>
|
||||
<ul>
|
||||
{% for row in tasks %}
|
||||
<li><a href="{% url 'tasks_task' task_id=row.id %}">#{{ row.reference_code }} {{ row.title }}</a></li>
|
||||
{% empty %}
|
||||
<li>No tasks.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</article>
|
||||
</div></section>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user