forked from mirrors/bookwyrm
Moves status templates into dir
This commit is contained in:
parent
27d81306e3
commit
a0b57837a7
10 changed files with 10 additions and 10 deletions
|
@ -242,7 +242,7 @@
|
||||||
<div class="block" id="reviews">
|
<div class="block" id="reviews">
|
||||||
{% for review in reviews %}
|
{% for review in reviews %}
|
||||||
<div class="block">
|
<div class="block">
|
||||||
{% include 'snippets/status.html' with status=review hide_book=True depth=1 %}
|
{% include 'snippets/status/status.html' with status=review hide_book=True depth=1 %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for activity in activities %}
|
{% for activity in activities %}
|
||||||
<div class="block">
|
<div class="block">
|
||||||
{% include 'snippets/status.html' with status=activity %}
|
{% include 'snippets/status/status.html' with status=activity %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for activity in activities %}
|
{% for activity in activities %}
|
||||||
<div class="block">
|
<div class="block">
|
||||||
{% include 'snippets/status.html' with status=activity %}
|
{% include 'snippets/status/status.html' with status=activity %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% include 'snippets/status.html' with status=status main=is_root %}
|
{% include 'snippets/status/status.html' with status=status main=is_root %}
|
||||||
|
|
||||||
{% if depth <= max_depth and direction >= 0 %}
|
{% if depth <= max_depth and direction >= 0 %}
|
||||||
{% for reply in status|replies %}
|
{% for reply in status|replies %}
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
{% include 'snippets/avatar.html' with user=status.user %}
|
{% include 'snippets/avatar.html' with user=status.user %}
|
||||||
{% include 'snippets/username.html' with user=status.user %}
|
{% include 'snippets/username.html' with user=status.user %}
|
||||||
boosted
|
boosted
|
||||||
{% include 'snippets/status_body.html' with status=status|boosted_status %}
|
{% include 'snippets/status/status_body.html' with status=status|boosted_status %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% include 'snippets/status_body.html' with status=status %}
|
{% include 'snippets/status/status_body.html' with status=status %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
|
@ -5,13 +5,13 @@
|
||||||
|
|
||||||
{% block card-header %}
|
{% block card-header %}
|
||||||
<h3 class="card-header-title has-background-white-ter is-block">
|
<h3 class="card-header-title has-background-white-ter is-block">
|
||||||
{% include 'snippets/status_header.html' with status=status %}
|
{% include 'snippets/status/status_header.html' with status=status %}
|
||||||
</h3>
|
</h3>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
{% block card-content %}
|
{% block card-content %}
|
||||||
{% include 'snippets/status_content.html' with status=status %}
|
{% include 'snippets/status/status_content.html' with status=status %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
<a href="{{ status.remote_id }}">{{ status.published_date | post_date }}</a>
|
<a href="{{ status.remote_id }}">{{ status.published_date | post_date }}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-footer-item">
|
<div class="card-footer-item">
|
||||||
{% include 'snippets/status_options.html' with class="is-small" right=True %}
|
{% include 'snippets/status/status_options.html' with class="is-small" right=True %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% for activity in activities %}
|
{% for activity in activities %}
|
||||||
<div class="block" id="feed">
|
<div class="block" id="feed">
|
||||||
{% include 'snippets/status.html' with status=activity %}
|
{% include 'snippets/status/status.html' with status=activity %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if not activities %}
|
{% if not activities %}
|
||||||
|
|
Loading…
Reference in a new issue