Hugh Rundle
552980e208
select correct isni record when adding authors
...
The original implementation of this was so, so broken.
Now it's not.
2021-11-01 11:34:32 +11:00
Hugh Rundle
37148c5127
display isni bio with existing author name
...
If an existing author has an isni on record and it matches an author from the isni api call,
display the isni short description to aid with identifying the appropriate author.
2021-11-01 10:26:17 +11:00
Hugh Rundle
bce5f3f3b5
populate new authors with isni data
...
If a user selects an author pulled from the ISNI service when editing a book, use any relevant data from ISNI to populate the new author record.
This includes
- bio
- aliases
- isni
- wikipedia url
- viaf
2021-10-31 17:58:15 +11:00
Hugh Rundle
87ed6f8380
code formatting
2021-10-29 21:14:32 +11:00
Hugh Rundle
f2e4865adf
check isni sources when editing book authors
2021-10-29 16:13:05 +11:00
Mouse Reeve
5558216917
Merge pull request #1542 from bookwyrm-social/cancel-button
...
A cancel button that leads nowhere
2021-10-16 07:21:39 -07:00
Mouse Reeve
94bce7fd83
Use javascript back button on create book page
2021-10-16 07:11:12 -07:00
Mouse Reeve
3621224074
Properly localize book format
2021-10-15 13:59:07 -07:00
Mouse Reeve
b9251b4dc7
Fixes book identifiers not displaying
2021-10-14 16:11:33 -07:00
Mouse Reeve
74d2cf646a
Moves meta tags out of p tags
...
I guess that's not kosher
2021-10-01 10:25:23 -07:00
Mouse Reeve
428d87a351
Don't render empty html about books
2021-10-01 10:08:56 -07:00
Mouse Reeve
58fa3d9ad6
Fixes dl syntax
2021-10-01 09:24:26 -07:00
Mouse Reeve
305dcc504b
Unique names for fallback forms
2021-09-29 15:52:08 -07:00
Mouse Reeve
899e6b55a8
Updates references to book templates
2021-09-29 13:27:07 -07:00
Mouse Reeve
1e5a8dc3db
Create subdirectories for book view templates
2021-09-29 13:21:11 -07:00
Mouse Reeve
f0e31f730a
Moves form into snippet and adds boxes around sections
2021-09-29 13:18:27 -07:00
Mouse Reeve
2d13fd0a1c
Merge branch 'main' into add-edit-book
2021-09-29 12:53:46 -07:00
Mouse Reeve
47706b5353
Use detail field on book paeg and meta
2021-09-29 11:59:09 -07:00
Mouse Reeve
4747bb2156
Hide cover preview column if cover is unset
2021-09-29 11:36:35 -07:00
Mouse Reeve
2f93e6d723
Merge branch 'main' into book-format-choices
2021-09-29 11:33:06 -07:00
Mouse Reeve
bc87856c2e
Merge branch 'main' into book-format-choices
2021-09-27 10:29:12 -07:00
Levi Bard
0e6895633c
Allow adding a cover by url when adding a new book ( #1443 )
2021-09-27 13:00:16 +02:00
Mouse Reeve
a4e6f610cd
Adds javascript cache value to templates
2021-09-10 10:57:16 -07:00
Mouse Reeve
8a748fa675
Adds format fields to edit book view
2021-09-07 12:49:28 -07:00
Mouse Reeve
a236163e67
Small cleanup
2021-09-02 09:12:56 -07:00
Mouse Reeve
3d394f96bf
Fixes testing if authors are present
2021-09-02 08:49:50 -07:00
Mouse Reeve
6f8ca302e5
Clearer form logic in edit book page
2021-08-21 11:38:57 -07:00
Mouse Reeve
270571668d
adds space between attributes on book page
2021-08-21 11:05:38 -07:00
Mouse Reeve
be94c0a76b
Remove stray </dl> tag
2021-08-21 10:30:15 -07:00
Mouse Reeve
0829696add
Merge pull request #1138 from joachimesque/images-django-imagekit
...
Generate thumnails for books
2021-08-18 19:53:12 -06:00
Mouse Reeve
3b54852536
Adds search filter to UI
2021-08-17 10:44:18 -07:00
Mouse Reeve
45e82abda4
Merge branch 'main' into images-django-imagekit
2021-08-11 12:47:25 -06:00
Mouse Reeve
21a954c7df
Always use underscores in html ids
...
Plus some other shifting around
2021-08-08 19:44:12 -07:00
Mouse Reeve
af34dc6520
Merge branch 'main' into images-django-imagekit
2021-08-02 13:43:59 -06:00
Joachim
78aa31afd5
Merge remote-tracking branch 'upstream/main' into storage-s3
2021-08-01 11:38:32 +02:00
Mouse Reeve
3f15e4410e
Fixes link to edit book
2021-07-12 16:17:20 -07:00
Mouse Reeve
fede777e9b
Hide deleted status counts from book page
2021-07-07 09:37:21 -07:00
Joachim
e251b687dc
Merge remote-tracking branch 'upstream/main' into images-django-imagekit
2021-06-19 19:32:56 +02:00
Joachim
d862be0564
Merge remote-tracking branch 'upstream/main' into storage-s3
2021-06-19 11:53:05 +02:00
Mouse Reeve
973b23856c
Merge branch 'main' into opengraph-image-generation
2021-06-17 15:17:54 -07:00
Fabien Basmaison
cc03460e00
Avoid space within parenthesises for series when no number is provided.
2021-06-17 17:18:55 +02:00
Fabien Basmaison
7f01dcf3b9
Merge branch 'main' into frontend/subtitle
2021-06-17 17:12:23 +02:00
Mouse Reeve
c4f7f34ad4
Fixes edit readthrough toggle display
2021-06-14 16:04:58 -07:00
Mouse Reeve
a82bf99bd6
Icon-only link display on mobile for text links
2021-06-14 15:55:26 -07:00
Mouse Reeve
fe2309f0bc
Fixes orientation of edition want to read menu
2021-06-14 15:45:39 -07:00
Mouse Reeve
6e6354bcce
Fixes trailing space in series text
...
Fixes #1145
2021-06-14 12:34:11 -07:00
Fabien Basmaison
17635b47db
Fix case where there is no subtitle.
...
Consequentially change back author to being a subtitle.
2021-06-11 09:41:55 +02:00
Fabien Basmaison
f58c1d1138
Tweak styles for subtitle:
...
- Make it bold as the title while preserving consistency with other subtitles.
- Pull the author closer to the subtitle to preserve a descending visual and typographic scales.
2021-06-09 12:20:34 +02:00
Fabien Basmaison
5047b8bf94
Do not break document structure with ratings.
2021-06-09 11:12:38 +02:00
Fabien Basmaison
b9562e44e3
Merge branch 'main' into frontend/subtitle
2021-06-09 10:14:34 +02:00
Joachim
d105ae9c78
Merge remote-tracking branch 'upstream/main' into images-django-imagekit
2021-06-07 19:53:11 +02:00
Joachim
b448d40514
Use the right snippets on Templates
2021-06-07 18:13:24 +02:00
Mouse Reeve
bbbae9fc9d
Merge branch 'main' into images-django-imagekit
2021-06-05 11:46:57 -07:00
Joachim
7d1e4aebbc
Better forms
2021-06-02 18:17:53 +02:00
Joachim
f206f61e9a
Use global switch to enable/disable preview images
2021-05-28 17:00:07 +02:00
Joachim
f848dcd756
Fix issue with protocol
2021-05-26 18:20:22 +02:00
Joachim
e362c82495
Expose static & media paths
2021-05-26 17:54:59 +02:00
Joachim
7ea3153026
Fix site_path tag
2021-05-26 16:57:28 +02:00
Joachim
e5e549d125
Add opengraph image depending on context
2021-05-26 14:44:15 +02:00
Fabien Basmaison
c894f5ef35
Update subtitle behaviour:
...
- on Book
- Remove problematic punctuation (locale and multiple punctuation if the title ends with `?`, `!` or similar).
- Update view.
- Use proper semantic to split combined title into `name`, `alternativeHeadline` and series-related microdata.
- The author is not a subtitle, just data.
- Use parenthesis in the `get_title` filter instead of punctuation.
2021-05-26 13:21:06 +02:00
Joachim
36f447210a
Specify sizes on all templates
2021-05-24 16:18:05 +02:00
Mouse Reeve
f058aa8f1d
Uses correct filter for book title
2021-05-24 06:54:43 -07:00
Mouse Reeve
9285f483c2
Query tweaks for book page
2021-05-22 20:14:57 -07:00
Mouse Reeve
d39374f13c
Fixes editions page
2021-05-20 18:41:36 -07:00
Mouse Reeve
a415991e96
Fixes clashing filter names in templates
2021-05-20 11:56:26 -07:00
Mouse Reeve
49916a7498
Sorting for announcement headers and pagination
2021-05-20 09:43:29 -07:00
Mouse Reeve
3d70a36d86
Editable announcement
2021-05-20 09:28:39 -07:00
Mouse Reeve
d64e0c4aa8
Adds admin view for individual announcement
2021-05-20 08:09:35 -07:00
Mouse Reeve
8fc0da8dc2
Adds inventaire ID field to edit book form
2021-05-18 16:10:43 -07:00
Mouse Reeve
6fff45d36c
Adds language field to edit book form
2021-05-18 15:56:11 -07:00
Mouse Reeve
0bddad259b
Merge pull request #1095 from bookwyrm-social/display-fixes
...
Display fixes
2021-05-18 11:46:28 -07:00
Mouse Reeve
58a059c85f
Fixes display of user ratings
2021-05-18 11:17:59 -07:00
Mouse Reeve
07d59c8c09
Don't show ratings below user statuses
2021-05-18 11:09:19 -07:00
Mouse Reeve
5cd5a6107f
Show text with buttons in most places
2021-05-18 10:45:51 -07:00
Mouse Reeve
7dccce6b1f
Adds keyboard focus to add readthrough form
2021-05-18 09:59:40 -07:00
Mouse Reeve
ac2b63d0cd
More templatetag files
2021-05-11 15:14:42 -07:00
Mouse Reeve
443109bac3
Adds aliases and inventaire id to edit author form
...
Plus consolidates some wording
2021-05-10 17:06:22 -07:00
Mouse Reeve
3f4807a345
Revert "Adds datepicker script dependencies to templates"
...
This reverts commit 33ca7b4b76
.
2021-05-10 14:56:43 -07:00
Mouse Reeve
485f4b7eba
Revert "Replaces date elements with datepicker"
...
This reverts commit 869cfa6d34
.
2021-05-10 14:56:33 -07:00
Mouse Reeve
dcde3ded95
Merge pull request #1049 from bookwyrm-social/datepicker
...
Datepicker
2021-05-05 07:00:07 -07:00
Mouse Reeve
748810cd41
Use reverse lookups for urls
2021-05-04 09:34:16 -07:00
Mouse Reeve
869cfa6d34
Replaces date elements with datepicker
2021-05-04 09:04:21 -07:00
Mouse Reeve
33ca7b4b76
Adds datepicker script dependencies to templates
2021-05-04 08:54:53 -07:00
Mouse Reeve
900e7feb1b
Moved reviews into center column on books page
2021-04-30 12:06:21 -07:00
Mouse Reeve
57454afa42
Creates visual separation between reading activity and reviews
2021-04-30 12:02:19 -07:00
Mouse Reeve
0d7ffbc175
Hide user status tabs when there are none
2021-04-30 11:34:59 -07:00
Fabien Basmaison
bcafc1bc6a
Merge branch 'main' into frontend-book-cover
2021-04-30 09:54:42 +02:00
Mouse Reeve
d1b788b61f
Adds inventaire link to book page
2021-04-29 11:14:20 -07:00
Fabien Basmaison
5c8710c1c4
cover: Add removed link on Editions.
2021-04-28 15:08:58 +02:00
Fabien Basmaison
baaaeef4c0
cover: Fix little details.
2021-04-28 10:47:14 +02:00
Fabien Basmaison
d936417ddb
cover: Update /book/ID/edit.
2021-04-27 20:44:06 +02:00
Fabien Basmaison
8ddc292ee6
cover: Change the logic again:
...
- Work on feeds.
- Add `.is-cover` to modify the behaviours of columns.
- Only apply logic for dimensions on the cover container; too many contextual side effects otherwise.
- Add classes to dimension and align, including auto margins for flex.
- Rename classes in templates accordingly.
2021-04-27 16:24:20 +02:00
Fabien Basmaison
26cacf502c
Rationalise behaviours of context, container and cover:
...
- Set minimum dimensions to avoid having to pass classes all over the place.
- Outline the container to show white on white covers properly.
- Remove extraneous code.
- Better size caption when no cover is available.
- Create Alignments, Positions and Spacings sections and move some existing dimensions.
- Update previous templates.
2021-04-26 13:39:17 +02:00
Fabien Basmaison
30bed6c963
Merge branch 'main' into frontend-book-cover
2021-04-26 11:35:10 +02:00
Fabien Basmaison
953dff90bb
cover: tweak styles:
...
- `optimizeQuality` > `smooth` (CSS language evolution)
- Use `auto` instead of a fixed width.
- Add exceptions for heights and apply them to some previously modified templates.
- Remove `is-large` exception.
- Widen the content column on list curation.
2021-04-25 15:37:46 +02:00
Fabien Basmaison
eea8b4e750
cover: Handle covers with specific heights:
...
- Have an explicit contextual class on `cover-container`.
- Use more flexible, consistent and searchable variable name for passing classes to covers.
- Consistently use `'…'` with django variables.
- Give the option to not hide covers to screen readers.
- consitently give a title to the cover container if `alt_text` exists.
- [lists] Remove `.content` which is applying too extensive default styles.
2021-04-24 21:27:05 +02:00
Mouse Reeve
126594ec49
Cleans up queryset declarations
2021-04-23 13:47:13 -07:00
Mouse Reeve
888930f891
User request path for pagination
2021-04-23 13:35:12 -07:00
Mouse Reeve
d2b2065db8
Show user's book content
2021-04-23 13:32:58 -07:00
Mouse Reeve
92bd5ab291
Merge pull request #970 from bookwyrm-social/display-fixes
...
Display fixes
2021-04-20 13:59:32 -07:00