mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
15 lines
620 B
Scheme
15 lines
620 B
Scheme
|
<h5><%t DMSDocument.RELATED_DOCUMENTS "Related documents" %></h5>
|
||
|
|
||
|
<ul class="documents-relateddocuments">
|
||
|
<% loop $RelatedDocuments %>
|
||
|
<li>
|
||
|
<% if $Title %>
|
||
|
<a href="$Link" title="<%t DMSDocument.DOWNLOAD "Download {title}" title=$Title %>">$Title</a>
|
||
|
<% else %>
|
||
|
<a href="$Link" title="<%t DMSDocument.DOWNLOAD "Download {title}" title=$FilenameWithoutID %>">$FilenameWithoutID</a>
|
||
|
<% end_if %>
|
||
|
<span class="documents-relateddocuments-documentdetails"><% include DocumentDetails %></span>
|
||
|
</li>
|
||
|
<% end_loop %>
|
||
|
</ul>
|