Merge pull request #594 from mouse-reeve/broadcast-fixes
Refactors broadcasting
This commit is contained in:
@ -23,7 +23,7 @@
|
||||
{% include 'snippets/book_titleby.html' with book=item.book %}
|
||||
</td>
|
||||
<td>
|
||||
{% include 'snippets/username.html' with user=item.added_by %}
|
||||
{% include 'snippets/username.html' with user=item.user %}
|
||||
</td>
|
||||
<td>
|
||||
<div class="field has-addons">
|
||||
|
@ -31,9 +31,9 @@
|
||||
</div>
|
||||
<div class="card-footer has-background-white-bis">
|
||||
<div class="card-footer-item">
|
||||
<p>Added by {% include 'snippets/username.html' with user=item.added_by %}</p>
|
||||
<p>Added by {% include 'snippets/username.html' with user=item.user %}</p>
|
||||
</div>
|
||||
{% if list.user == request.user or list.curation == 'open' and item.added_by == request.user %}
|
||||
{% if list.user == request.user or list.curation == 'open' and item.user == request.user %}
|
||||
<form name="add-book" method="post" action="{% url 'list-remove-book' list.id %}" class="card-footer-item">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="item" value="{{ item.id }}">
|
||||
|
Reference in New Issue
Block a user