Discussion on Document
When displaying a list of documents in a particular folder, I would like to have a link visible so that users can go straight to the discussion on a particular document.
I would also like to have an icon that would display when there are discussion posts that have been created for a particular document.
The end result would be a list of documents in a folder, with a link next to each document that took the user straight to the discussion, and also an icon next to the link that would indicate if there were already posts in the discussion.
Document1 Discuss Link X
Document2 Discuss Link X
Document3 Discuss Link
Document4 Discuss Link
Document5 Discuss Link X
Where the X indicates that there are discussion posts.
Can anyone help me out with how to do this?