Commit graph

9 commits

Author SHA1 Message Date
Hugh Rundle 230d30abb8 sidebar review stars should default to zero
PR #2283 surfaced an existing formerly-hidden issue with star rating defaults in the sidebar of book pages.
This commit ensures the default rating is zero, not half a star.

Fixes #2291
2022-09-10 07:03:12 +10:00
Hugh Rundle 252fe7fd6a fix visibility of stars when editing a review
Previously the star rating appeared to be five stars when editing a review, regardless of what value was actually stored.
Now it will show the actual rating, including half stars.

Fixes #2213
2022-08-29 14:02:04 +10:00
Mouse Reeve 8840e09eac Fixes labels 2021-09-10 14:41:55 -07:00
Mouse Reeve 0be53f9133 Adds half star markup 2021-09-10 14:20:55 -07: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 22636041ba Use null instead of zero for unrated review 2021-06-17 17:47:46 -07:00
Mouse Reeve ac2b63d0cd More templatetag files 2021-05-11 15:14:42 -07:00
Mouse Reeve 521f917d01 Pass existing rating to stars form element as variable 2021-04-04 09:05:21 -07:00
Fabien Basmaison 485b0fa0f3 Simplify rating form:
- Create a snippet to regroup similar code.
- Reduce and document tricky logic of CSS.
- Add i18n strings.
2021-04-04 15:08:42 +02:00