add user name to shelf rss feed title

Co-authored-by: Adeodato Simó <73768+dato@users.noreply.github.com>
This commit is contained in:
Matt Katz 2024-03-18 21:29:16 -04:00 committed by GitHub
parent 63d6486fc9
commit 6976cb4876
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -215,7 +215,7 @@ class RssShelfFeed(Feed):
def title(self, obj):
"""title of the rss feed entry"""
return _(f"Books added to {obj.name}")
return _(f"{obj.user.name}s {obj.name} shelf")
def items(self, obj):
"""the user's activity feed"""