forked from mirrors/bookwyrm
Show notes on curation page
This commit is contained in:
parent
3f9a401d98
commit
2eabe29401
2 changed files with 14 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
{% extends 'lists/layout.html' %}
|
{% extends 'lists/layout.html' %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
{% load utilities %}
|
||||||
|
|
||||||
{% block breadcrumbs %}
|
{% block breadcrumbs %}
|
||||||
<nav class="breadcrumb subtitle" aria-label="breadcrumbs">
|
<nav class="breadcrumb subtitle" aria-label="breadcrumbs">
|
||||||
|
@ -38,6 +39,17 @@
|
||||||
|
|
||||||
<div class="column ml-3">
|
<div class="column ml-3">
|
||||||
{% include 'snippets/book_titleby.html' %}
|
{% include 'snippets/book_titleby.html' %}
|
||||||
|
{% if item.notes %}
|
||||||
|
<div>
|
||||||
|
{% url 'user-feed' item.user|username as user_path %}
|
||||||
|
{% blocktrans trimmed with username=item.user.display_name %}
|
||||||
|
<a href="{{ user_path }}">{{ username }}</a> says:
|
||||||
|
{% endblocktrans %}
|
||||||
|
<p class="notification">
|
||||||
|
{{ item.notes }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
{% trans "Suggested by" %}
|
{% trans "Suggested by" %}
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
{% block panel %}
|
{% block panel %}
|
||||||
{% if request.user == list.user and pending_count %}
|
{% if request.user == list.user and pending_count %}
|
||||||
<div class="block content">
|
<div class="block content">
|
||||||
<p>
|
<p class="notification">
|
||||||
<a href="{% url 'list-curate' list.id %}">{{ pending_count }} book{{ pending_count|pluralize }} awaiting your approval</a>
|
<a href="{% url 'list-curate' list.id %}">{{ pending_count }} book{{ pending_count|pluralize }} awaiting your approval</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<header>
|
<header>
|
||||||
{% url 'user-feed' user|username as user_path %}
|
{% url 'user-feed' user|username as user_path %}
|
||||||
{% blocktrans trimmed with username=user|username %}
|
{% blocktrans trimmed with username=user.display_name %}
|
||||||
<a href="{{ user_path }}">{{ username }}</a> says:
|
<a href="{{ user_path }}">{{ username }}</a> says:
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in a new issue