otwcode/otwarchive — pull request #856 by scottsds (2012-09-15 08:27:58+00:00)
Title: Issue 1187: Gift notification email links to the gift's general work url...

..., rather than the collection work url

Resolves issue: https://code.google.com/p/otwarchive/issues/detail?id=1187

For works that are given as Gifts and are a part of the collection, the link in the generated email will link to the work inside its collection (/collection/work/id). Otherwise the link in the email will just link directly to the work (/works/id)

I also made some minor cosmetic changes to this file so the email would be more pretty. I'm all about the pretty things.