forked from mirrors/bookwyrm
PR feedback
This commit is contained in:
parent
f57d9ee45d
commit
e7c0368168
3 changed files with 3 additions and 8 deletions
|
@ -63,9 +63,3 @@ class Quotation(Comment):
|
|||
''' a quote and commentary on a book '''
|
||||
quote: str
|
||||
type: str = 'Quotation'
|
||||
|
||||
@dataclass(init=False)
|
||||
class Progress(Comment):
|
||||
''' a progress update on a book '''
|
||||
quote: str
|
||||
type: str = 'Progress'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="field is-grouped is-small px-2">
|
||||
<div class="control">on page</div>
|
||||
<div class="control">
|
||||
<input class="input is-small" type="text" size="3">
|
||||
<input aria-label="Current page" class="input is-small" type="text" size="3">
|
||||
</div>
|
||||
<div class="control">of 100</div>
|
||||
</div>
|
||||
|
|
|
@ -563,7 +563,8 @@ def book_page(request, book_id):
|
|||
).order_by('start_date')
|
||||
|
||||
for readthrough in readthroughs:
|
||||
readthrough.progress_updates = readthrough.progressupdate_set.all().order_by('date')
|
||||
readthrough.progress_updates = \
|
||||
readthrough.progressupdate_set.all().order_by('date')
|
||||
|
||||
rating = reviews.aggregate(Avg('rating'))
|
||||
tags = models.Tag.objects.filter(
|
||||
|
|
Loading…
Reference in a new issue