silverstripe-dms/templates/Includes/Document.ss
Franco Springveldt 6b25237ec6 NEW Query Builder functionality added
This enhancement adds the ability to add documents to a document set based on a list of filters added from DMSDocument. Fixes #96
2017-05-16 13:26:01 +12:00

21 lines
623 B
Scheme

<% if not $isHidden %>
<div class="document $Extension">
<h4><a href="$Link" title="<%t DMSDocument.DOWNLOAD "Download {title}" title=$getTitle %>">$getTitle</a></h4>
<% if $CoverImage %>
<div class="article-thumbnail">
$CoverImage.FitMax(100, 100)
</div>
<% end_if %>
<p class="details"><% include DocumentDetails %></p>
<% if $Description %>
<p>$DescriptionWithLineBreak</p>
<% end_if %>
<% if $getRelatedDocuments %>
<% include RelatedDocuments %>
<% end_if %>
</div>
<% end_if %>