From 3217569df583829d776bcbaf77b80696d3527005 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 27 Nov 2022 12:37:52 -0700 Subject: Link to post pages and show replies there Fixes #60, #59 --- templates/activities/_post.html | 2 +- templates/activities/post.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'templates/activities') diff --git a/templates/activities/_post.html b/templates/activities/_post.html index e294698..7402765 100644 --- a/templates/activities/_post.html +++ b/templates/activities/_post.html @@ -1,6 +1,6 @@ {% load static %} {% load activity_tags %} -
+
diff --git a/templates/activities/post.html b/templates/activities/post.html index eee254f..d27790f 100644 --- a/templates/activities/post.html +++ b/templates/activities/post.html @@ -4,4 +4,7 @@ {% block content %} {% include "activities/_post.html" %} + {% for reply in replies %} + {% include "activities/_post.html" with post=reply reply=True %} + {% endfor %} {% endblock %} -- cgit v1.2.3