diff options
author | luxagraf <sng@luxagraf.net> | 2023-11-16 16:17:18 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-11-16 16:17:18 -0500 |
commit | 6fe5eaf1a31c0d30eefa710f1ddadeaae57abdbe (patch) | |
tree | 486c3fd3cc40f1882bc83d2c6855ba213da28bda | |
parent | 6f5b74242bd9968853f224e67ce073e83014b344 (diff) |
gtd: fixed some templates
-rw-r--r-- | app/gtd/templates/gtd/project_detail.html | 1 | ||||
-rw-r--r-- | app/gtd/templates/gtd/project_list.html | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/gtd/templates/gtd/project_detail.html b/app/gtd/templates/gtd/project_detail.html index bab6982..38ea559 100644 --- a/app/gtd/templates/gtd/project_detail.html +++ b/app/gtd/templates/gtd/project_detail.html @@ -9,6 +9,7 @@ {% for object in object.gtdnote_set.all %} <h4>{{object.title}} <span class="note-edit"><a href="{%url 'gtd:note-edit' object.pk%}">edit</a></span></h4> {{object.body_html|smartypants|safe}} + <p class="small"><a href="{% url 'gtd:note-delete' object.pk %}">delete</a></p> {% endfor %} </div> </main> diff --git a/app/gtd/templates/gtd/project_list.html b/app/gtd/templates/gtd/project_list.html index 24651de..252cdce 100644 --- a/app/gtd/templates/gtd/project_list.html +++ b/app/gtd/templates/gtd/project_list.html @@ -9,7 +9,7 @@ </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> + <h2><a href="{{object.get_absolute_url}}">{{object.title}}</a><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> |