We're updating the issue view to help you get more done.Learn more

Downloads: Title of parent work overlaps words "This work was inspired by"

How to reproduce:

1. Log in
2. Post > New Work
3. Fill in required fields - this will be the parent work
4. Post Without Preview
5. Copy the work's URL
6. Post > New Work
7. Fill in required fields
8. Check "This work is a remix, a translation, a podfic, or was inspired by another work" checkbox
9. In the "URL" field, fill in the URL from step 5
10. Post Without Preview
11. Download > Whatever format you like

What happens:

The title of the first work that inspired the downloaded work overlaps the words "This work was inspired by."

I've attached images of the PDF, HTML, and EPUB downloads to illustrate; I couldn't do a MOBI screenshot, but you most likely get the idea.

What should happen instead:

The text shouldn't do that.

I'd suggest getting rid of the current HTML structure, which looks like this (notice how multiple works are in the same dd tag):

1 2 3 4 5 6 <dl> <dt>This work was inspired by</dt> <dd> <a href="http://testdownload.archiveofourown.org/works/1064175">A New Work for an Existing Series</a> by <a href="/users/sarken/pseuds/sarking" rel="author">sarking (sarken)</a>, <a href="http://testdownload.archiveofourown.org/works/1064172">A New Work For a New Series</a> by <a href="/users/sarken/pseuds/sarking" rel="author">sarking (sarken)</a> </dd> </dl>

And instead stealing the basic list structure we use on the work itself:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <ul class="associations"> <li> Inspired by <a href="/works/1064175">A New Work for an Existing Series</a> by <a href="/users/sarken/pseuds/sarking" rel="author">sarking (sarken)</a>. </li> <li> Inspired by <a href="/works/1064172">A New Work For a New Series</a> by <a href="/users/sarken/pseuds/sarking" rel="author">sarking (sarken)</a>. </li> </ul>

While the version on the work itself repeats the "Inspired by" text, that's intentional – we've long had vague plans to allow for more specific relationships between works, e.g. "Remix of" or "Podfic of" or "Inspired by," which would mean each parent work might need different text.

Status

Assignee

tuff

Reporter

Sarken

Roadmap

Export

Priority

Low

Affects versions

0.9.192

Fix versions

Components

FrontEnd

Difficulty

Easy

Milestone

Internal 0.9