Closed slshults closed 14 years ago
done. pdf_link used when monologue.nil?
Sweet. Awesome first pass on that, so quick you are! That must be the 'rails' part? :-)
I noticed that it got many of them right but some just link back on themselves (just reload the page when clicked (both the first line and the pdf icon.)
Henry V and Richard III are good examples. Click through like 5 monos on each and you'll run into it.
Yeah, it can't link to the pdf, if there is no pdf_link value! So, round two is checked in: 1) print a link to the monologue if there is a body. 2) print a link to the location if there is one (I've not tested this one. not sure if any lack a location) 3) print a link to the pdf if there is one, otherwise display a faded pdf icon without a link (search for othello to see that one in action)
Hmm. went to check on results and when i go here http://monologues.heroku.com/men/ and click link i get the generic ruby error.
that was the plays bug, so this one can be closed for now, right?
yep. looks great, thanks! closing...
How hard would it be to make the first line link to the pdf for the monologues which don't yet have the body/preview text?
This way people would get the pdf when they click the first line until I get around to adding the preview text etc.
Readily doable or an unwieldy beastie from hell?