Dashboard > Atlassian Plugins > ... > Recipe Book > Attachment List Recipe
  Atlassian Plugins Log In | Sign Up   View a printable version of the current page.  
  Attachment List Recipe

Added by David Peterson , last edited by Alwyn Wong [CustomWare] on Oct 28, 2008  (view change)
Labels: 


We found that this attachment list recipe almost fulfilled our wishes. The only problem was that clicking on an attachment links you to the attachment tab instead of downloading the attachment.

If you want a list of attachments which are downloadable from page directly you can use this code:

{report-table}

{local-reporter:content:attachments}
  {text-sort:content:title}
{local-reporter}

{report-column:title=File Name} {report-link:content:download path}{report-info:content:title}{report-link}{report-column}
{report-column:title=Comment}{report-info:content:comment}{report-column}
{report-column:title=Size}{report-info:content:nice file size}{report-column}

{report-empty}_No files have been attached to this page._{report-empty}

{report-table}
Copyright(c) CustomWare Asia Pacific Pty Ltd
Powered by Atlassian Confluence 2.7.3, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators