diff options
Diffstat (limited to 'app/gtd/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> |