@@ -38,7 +38,7 @@
|
||||
{% include 'snippets/tabs.html' with tabs=feed_tabs active_tab=active_tab %}
|
||||
|
||||
{% for activity in activities %}
|
||||
{% include 'snippets/status.html' with activity=activity %}
|
||||
{% include 'snippets/activity.html' with activity=activity %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% load fr_display %}
|
||||
<div class="update">
|
||||
{% if activity.status_type == 'Review' %}
|
||||
{% include 'snippets/status_banner.html' with content="reviewed <i>"|add:activity.book.title|add:"</i>" %}
|
||||
{% include 'snippets/activity_banner.html' with content="reviewed <i>"|add:activity.book.title|add:"</i>" %}
|
||||
<div class="book-preview review">
|
||||
{% include 'snippets/book.html' with book=activity.book size=large %}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</div>
|
||||
{% include 'snippets/interaction.html' with activity=activity %}
|
||||
{% elif activity.status_type == 'Note' %}
|
||||
{% include 'snippets/status_banner.html' %}
|
||||
{% include 'snippets/activity_banner.html' %}
|
||||
<span>{{ activity.content | safe }}</span>
|
||||
{% for book in activity.mention_books.all %}
|
||||
<div class="book-preview review">
|
@@ -1,8 +0,0 @@
|
||||
{% load fr_display %}
|
||||
<div class="review">
|
||||
<h4>{{ review.name }}
|
||||
<small>{{ review.rating | stars }} stars, by {% include 'snippets/username.html' with user=review.user %}</small>
|
||||
</h4>
|
||||
<blockquote>{{ review.content }}</blockquote>
|
||||
</div>
|
||||
|
@@ -1,10 +0,0 @@
|
||||
{% load humanize %}
|
||||
<h2>
|
||||
{% include 'snippets/avatar.html' with user=activity.user %}
|
||||
{% include 'snippets/username.html' with user=activity.user %}
|
||||
{{ content | safe }}
|
||||
<span class="time-ago">
|
||||
{{ activity.published_date | naturaltime }}
|
||||
</span>
|
||||
</h2>
|
||||
|
17
fedireads/templates/status.html
Normal file
17
fedireads/templates/status.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends 'layout.html' %}
|
||||
{% block content %}
|
||||
|
||||
<div id="content">
|
||||
{% if status.reply_parent %}
|
||||
{% include 'snippets/status.html' with status=status.reply_parent %}
|
||||
{% endif %}
|
||||
|
||||
{% include 'snippets/status.html' with status=status main=True %}
|
||||
|
||||
{% for reply in replies %}
|
||||
{% include 'snippets/status.html' with status=reply %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user