diff options
Diffstat (limited to 'app/gtd')
-rw-r--r-- | app/gtd/models.py | 2 | ||||
-rw-r--r-- | app/gtd/templates/gtd/project_list.html | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/gtd/models.py b/app/gtd/models.py index 38b4694..6b55f3b 100644 --- a/app/gtd/models.py +++ b/app/gtd/models.py @@ -56,7 +56,7 @@ class GTDProject(models.Model): body_html = models.TextField(blank=True) date_goal = models.DateField(blank=True, null=True) date_ended = models.DateField(blank=True, null=True) - project_type = models.IntegerField(choices=PROJECT_TYPE, default=2) + project_type = models.IntegerField(choices=PROJECT_TYPE, default=PERSONAL) outcome = models.ForeignKey(GTDOutcome, on_delete=models.SET_NULL, null=True, blank=True) class Meta: diff --git a/app/gtd/templates/gtd/project_list.html b/app/gtd/templates/gtd/project_list.html index 252cdce..ba46b59 100644 --- a/app/gtd/templates/gtd/project_list.html +++ b/app/gtd/templates/gtd/project_list.html @@ -2,6 +2,7 @@ {% block primary %} <main class="post-detail"> <div class="post-header"><ul class="flex header-list"> + <li><a class="btn" href="{% url 'gtd:project-list' %}">All</a></li> {% 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 %} |