From 2800533e402039b735392762f3218ee277017c17 Mon Sep 17 00:00:00 2001 From: Normann Lou Date: Wed, 1 Aug 2012 14:48:27 +1200 Subject: [PATCH] BUGFIX: change the Document.ss to its generic format --- templates/Includes/Document.ss | 37 +++++++++++++--------------------- 1 file changed, 14 insertions(+), 23 deletions(-) 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