summaryrefslogtreecommitdiff
path: root/app/gtd
diff options
context:
space:
mode:
Diffstat (limited to 'app/gtd')
-rw-r--r--app/gtd/models.py2
-rw-r--r--app/gtd/templates/gtd/note_list.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/app/gtd/models.py b/app/gtd/models.py
index 28649c6..1ca0d6e 100644
--- a/app/gtd/models.py
+++ b/app/gtd/models.py
@@ -103,10 +103,12 @@ class GTDNote(models.Model):
ACTION = 0
REMINDER = 1
REFERENCE = 2
+ SOMEDAY = 3
NOTE_TYPE = [
(ACTION, 'Action'),
(REMINDER, 'Reminder'),
(REFERENCE, 'Reference'),
+ (SOMEDAY, 'Someday'),
]
note_type = models.SmallIntegerField(choices=NOTE_TYPE, default=ACTION)
reminder = models.BigIntegerField(help_text="In days", null=True, blank=True)
diff --git a/app/gtd/templates/gtd/note_list.html b/app/gtd/templates/gtd/note_list.html
index 1e5179e..5457443 100644
--- a/app/gtd/templates/gtd/note_list.html
+++ b/app/gtd/templates/gtd/note_list.html
@@ -10,7 +10,7 @@
</ul>
</div>
<div class="note-list">{% for object in object_list %}<article>
- <h2>{{object.title}}{{object.title}}<span class="note-edit"><a href="{%url 'gtd:note-edit' object.pk%}">edit</a></span></h2>
+ <h2>{{object.title}}<span class="note-edit"><a href="{%url 'gtd:note-edit' object.pk%}">edit</a></span></h2>
<p>{{object.body_markdown}}</p>
<p class="small">For: <a href="/post/{{object.post.pk}}/notes">{{object.post}}</a></p>
<p class="small">Status: <a href="/post/{{object.post.pk}}/notes">{{object.get_status_display}}</a></p>