summaryrefslogtreecommitdiffstats
path: root/templates/activities/_event.html
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-22 18:59:51 -0700
committerAndrew Godwin2022-11-22 18:59:51 -0700
commit48154fb20e41bf3f4ba2de42de32c3e75d059941 (patch)
treec065f9450616c1250070841c6a66cbf0388ee585 /templates/activities/_event.html
parente52c7df498c5f52b9ba9a2ab854d6f06a9b140d7 (diff)
downloadtakahe-48154fb20e41bf3f4ba2de42de32c3e75d059941.tar.gz
takahe-48154fb20e41bf3f4ba2de42de32c3e75d059941.tar.bz2
takahe-48154fb20e41bf3f4ba2de42de32c3e75d059941.zip
Fix boosted notifications
Diffstat (limited to 'templates/activities/_event.html')
-rw-r--r--templates/activities/_event.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/activities/_event.html b/templates/activities/_event.html
index 81e9dd2..c6d30b1 100644
--- a/templates/activities/_event.html
+++ b/templates/activities/_event.html
@@ -22,7 +22,12 @@
</div>
{% include "activities/_post.html" with post=event.subject_post %}
{% elif event.type == "boosted" %}
- {{ event.subject_identity.name_or_handle }} boosted your post {{ event.subject_post }}
+ <div class="boost-banner">
+ <a href="{{ event.subject_identity.urls.view }}">
+ {{ event.subject_identity.name_or_handle }}
+ </a> boosted your post
+ </div>
+ {% include "activities/_post.html" with post=event.subject_post %}
{% else %}
Unknown event type {{event.type}}
{% endif %}