Fixed attachments.html template

is_published is not translateable and we called it on the wrong model.