Chapter count display in downloads inconsistent with chapter count display on work show page

Description

Steps to reproduce

  1. Log in

  2. Post > New Work

  3. Fill in required information

  4. Press "Post"

  5. Downloads > HTML to download an HTML copy of the work

  6. Open the downloaded HTML file in a new tab

What happens

Look at the Stats section on the work page. It goes something like:

Published: 2020-11-22 Words: 4 Chapters: 1/1 Hits: 0

However, when you look at the Stats section of the download, it leaves out the chapter info:

Published: 2020-11-22 Words: 4

(Note: Leaving out hits and other frequently-changing statistics like comments, kudos, and bookmarks is the correct behavior, since we don't want to have to regenerate the download to keep those up to date.)

If you go back and add a chapter to the work and then re-download it, you'll see the download's Stats section now goes:

Published: 2020-11-22 Chapters: 2/2 Words: 6

What should happen

The chapter count in the download should be after the word count, just like it is on the work show page.

Additionally, it should say Chapters: 1/1 (as opposed to the current blankness) if the work only has one chapter.

Assignee

Unassigned

Reporter

Sarken

Roadmap

Export

Priority

Low

Affects versions

Fix versions

Components

FrontEnd

Difficulty

Easy

Milestone

Internal 0.9