summaryrefslogtreecommitdiff
path: root/app/gtd/templates/gtd/project_list.html
blob: 24651de9fb0b90abb9dbd07f23f7854090cc4be8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends 'base_gtd.html' %}
{% block primary %}
<main class="post-detail">
    <div class="post-header"><ul class="flex header-list">
        {% for object in project_types %}
        <li><a class="btn" href="{% url 'gtd:project-list-type' object.1|lower%}">{%if object.1 == 'Lbh'%}{{object.1|upper}}{%else%}{{object.1}}{%endif%}</a></li>
        {% endfor %}
        <li class="right"><a href="{% url 'gtd:project-create' %}" class="btn">New</a></li>
        </ul>
    </div>
    <div class="note-list">{% for object in object_list %}<article>
    <h2>{{object.title}}<span class="note-edit"><a href="{% url 'gtd:project-edit' object.pk %}">edit</a></span></h2>
    <p>{{object.body_markdown}}</p>
    <p class="small">Date Goal: {{object.date_goal}}</p>
    <p class="small">Type: {{object.get_project_type_display}}</p>
    <p class="small"><a href="{% url 'gtd:project-delete' object.pk %}">delete</a></p>
        </article>
{% endfor%}</div>
</main>


{% endblock %}
{% block js %}
{% endblock%}