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
|
|
|
|
2021-02-28 13:00:36 -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" %}
|
2021-01-16 11:19:54 -05:00
|
|
|
{% if goal %}
|
2021-07-28 16:17:56 -04:00
|
|
|
<section class="block">
|
2021-01-16 11:19:54 -05:00
|
|
|
<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 %}
|
2021-01-16 11:19:54 -05:00
|
|
|
</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-16 11:19:54 -05:00
|
|
|
|
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" %}
|
2020-10-02 18:06:42 -04:00
|
|
|
{% 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
|
|
|
|
2021-03-19 13:47:32 -04:00
|
|
|
{% block scripts %}
|
2022-02-25 15:47:46 -05:00
|
|
|
<script src="{% static "js/tabs.js" %}?v={{ js_cache }}"></script>
|
2021-03-19 13:47:32 -04:00
|
|
|
{% endblock %}
|