forked from mirrors/bookwyrm
Use display_name instead of username
This commit is contained in:
parent
0fe2e7a356
commit
ad2baf3be5
2 changed files with 3 additions and 3 deletions
bookwyrm
|
@ -1,4 +1,4 @@
|
|||
{{ obj.user.username }}{% if obj.status_type == 'GeneratedNote' %}
|
||||
{{ obj.user.display_name }}{% if obj.status_type == 'GeneratedNote' %}
|
||||
{{ obj.content | safe }}
|
||||
{% elif obj.status_type == 'Review' and not obj.name and not obj.content%}
|
||||
rated
|
||||
|
|
|
@ -17,11 +17,11 @@ class RssFeed(Feed):
|
|||
return obj.local_path
|
||||
|
||||
def title(self, obj):
|
||||
return f"Status updates from {obj.username}"
|
||||
return f"Status updates from {obj.display_name}"
|
||||
|
||||
|
||||
def items(self, obj):
|
||||
return get_activity_feed(obj, ['public', 'unlisted', 'followers'])
|
||||
return get_activity_feed(obj, ['public', 'unlisted'])
|
||||
|
||||
|
||||
def item_link(self, item):
|
||||
|
|
Loading…
Reference in a new issue