Change attachment link to download and add a view link for text attachments (#4774).
Authored by: jplang 2012-01-14
Parent: [r8644]
Child: [r8646]