diff options
author | Andrew Godwin | 2022-11-13 18:42:47 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-13 18:43:09 -0700 |
commit | ddb3436275d3f02183f515c38cd3193cd1dfe2f4 (patch) | |
tree | 8902d4f085ad6d8323f43af20ca497d291e4d28a /templates/activities/home.html | |
parent | 68c156fd2758da5831bd83bfb1249dd014d78177 (diff) | |
download | takahe-ddb3436275d3f02183f515c38cd3193cd1dfe2f4.tar.gz takahe-ddb3436275d3f02183f515c38cd3193cd1dfe2f4.tar.bz2 takahe-ddb3436275d3f02183f515c38cd3193cd1dfe2f4.zip |
Boosting! Incoming, anyway.
Diffstat (limited to 'templates/activities/home.html')
-rw-r--r-- | templates/activities/home.html | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/templates/activities/home.html b/templates/activities/home.html index c777ce8..2cdaaea 100644 --- a/templates/activities/home.html +++ b/templates/activities/home.html @@ -8,10 +8,19 @@ <section class="columns"> <div class="left-column"> - {% for post in timeline_posts %} - {% include "activities/_post.html" %} + {% for event in events %} + {% if event.type == "post" %} + {% include "activities/_post.html" with post=event.subject_post %} + {% elif event.type == "boost" %} + <div class="boost-banner"> + <a href="{{ event.subject_identity.urls.view }}"> + {{ event.subject_identity.name_or_handle }} + </a> boosted + </div> + {% include "activities/_post.html" with post=event.subject_post %} + {% endif %} {% empty %} - No posts yet. + Nothing to show yet. {% endfor %} </div> |