forked from mirrors/bookwyrm
Merge pull request #704 from mouse-reeve/notification-preview
Clearer notification preview for generated notes
This commit is contained in:
commit
a63471c56f
1 changed files with 3 additions and 1 deletions
|
@ -114,7 +114,9 @@
|
|||
<div class="columns">
|
||||
<div class="column">
|
||||
{% if related_status.content %}
|
||||
<a href="{{ related_status.local_path }}">{{ related_status.content | safe | truncatewords_html:10 }}</a>
|
||||
<a href="{{ related_status.local_path }}">
|
||||
{{ related_status.content | safe | truncatewords_html:10 }}{% if related_status.mention_books %} <em>{{ related_status.mention_books.first.title }}</em>{% endif %}
|
||||
</a>
|
||||
{% elif related_status.quote %}
|
||||
<a href="{{ related_status.local_path }}">{{ related_status.quote | safe | truncatewords_html:10 }}</a>
|
||||
{% elif related_status.rating %}
|
||||
|
|
Loading…
Reference in a new issue