bookwyrm-mastodon/bookwyrm/templates/feed/layout.html

36 lines
1020 B
HTML
Raw Normal View History

2020-01-25 18:25:19 -05:00
{% extends 'layout.html' %}
2021-02-27 21:48:10 -05:00
{% load i18n %}
2021-08-01 05:38:44 -04:00
{% load static %}
2020-02-21 18:39:25 -05:00
{% block title %}{% trans "Updates" %}{% endblock %}
{% block content %}
2020-09-29 20:43:30 -04:00
<div class="columns">
2021-01-29 13:25:31 -05:00
{% if user.is_authenticated %}
2020-09-30 18:00:46 -04:00
<div class="column is-one-third">
2022-01-05 16:12:49 -05:00
{% include "feed/suggested_books.html" %}
{% if goal %}
<section class="block">
<div class="block">
2021-02-27 21:48:10 -05:00
<h3 class="title is-4">{% blocktrans with yar=goal.year %}{{ year }} Reading Goal{% endblocktrans %}</h3>
2021-01-16 14:34:19 -05:00
{% include 'snippets/goal_progress.html' with goal=goal %}
</div>
</section>
{% endif %}
2020-09-29 13:21:10 -04:00
</div>
2021-01-29 13:25:31 -05:00
{% endif %}
2020-01-25 18:25:19 -05:00
2020-09-29 20:51:57 -04:00
<div class="column is-two-thirds" id="feed">
2021-01-29 13:25:31 -05:00
{% block panel %}{% endblock %}
2021-01-29 13:25:31 -05:00
{% if activities %}
2021-01-29 14:14:18 -05:00
{% include 'snippets/pagination.html' with page=activities path=path anchor="#feed" %}
{% endif %}
2020-09-29 20:43:30 -04:00
</div>
2020-09-29 13:21:10 -04:00
</div>
2020-01-25 18:25:19 -05:00
{% endblock %}
2021-01-29 13:25:31 -05:00
{% block scripts %}
<script src="{% static "js/tabs.js" %}?v={{ js_cache }}"></script>
{% endblock %}