diff --git a/templates/Includes/Document.ss b/templates/Includes/Document.ss index d9814fe..9fd8325 100644 --- a/templates/Includes/Document.ss +++ b/templates/Includes/Document.ss @@ -1,26 +1,17 @@ -
- href="$Link"<% end_if %> title="Download $File.Name"> -<% if Title %> -

$Title

-<% else %> -

$File.Name

-<% end_if %> - <% if ClassName = Document %> -

- $File.Name - | $File.Extension - | $File.Size - | Modified: <% control File.Document %> $LastEdited.Nice <% end_control %> -

- <% if Description %> -

$Description

- <% end_if %> +
+ <% if Title %> +

$Title

+ <% else %> +

$FilenameWithoutID

<% end_if %> - <% if ClassName = DocumentTextLabel %> -

- <% if Description %> - $Description - <% end_if %> -

+ +

+ $FilenameWithoutID + | $FileExt + | $FileSizeFormatted + | Last Changed: $LastChanged.Nice +

+ <% if Description %> +

$Description

<% end_if %>
\ No newline at end of file