From 04b1b62b85f2f6fd01a2f79c28661295841b75c2 Mon Sep 17 00:00:00 2001 From: Gordon Anderson Date: Sat, 7 Feb 2015 12:19:56 +0700 Subject: [PATCH] ENHANCEMENT: Tidy up layout of comments to include Gravatar and threading depth --- templates/CommentsInterface_singlecomment.ss | 64 +++++++++++--------- 1 file changed, 35 insertions(+), 29 deletions(-) diff --git a/templates/CommentsInterface_singlecomment.ss b/templates/CommentsInterface_singlecomment.ss index f4266d6..b0daa98 100755 --- a/templates/CommentsInterface_singlecomment.ss +++ b/templates/CommentsInterface_singlecomment.ss @@ -1,31 +1,37 @@ -
-<% if $Gravatar %>Gravatar for $Name<% end_if %> - $EscapedComment -
- -<% if not isPreview %> -

- <% if $URL %> - <% _t('CommentsInterface_singlecomment_ss.PBY','Posted by') %> $AuthorName.XML, $Created.Nice ($Created.Ago) - <% else %> - <% _t('CommentsInterface_singlecomment_ss.PBY','Posted by') %> $AuthorName.XML, $Created.Nice ($Created.Ago) - <% end_if %> -

- - <% if $ApproveLink || $SpamLink || $HamLink || $DeleteLink %> - +
+<% if MarkedAsDeleted %><% _t('DELETED_BY_ADMIN','This comment was deleted by an administrator') %><% else %> +
+<% if $URL %> +

<% _t('CommentsInterface_singlecomment_ss.PBY','Posted by') %> $AuthorName.XML

+ <% else %> +

<% _t('CommentsInterface_singlecomment_ss.PBY','Posted by') %> $AuthorName.XML

<% end_if %> +
$Created.Nice ($Created.Ago)
+ <% if TwitterUsername %>
<% end_if %> +$EscapedComment + +<% if $CanReply %>
    +
  • + +
<% end_if %> + +<% if $ApproveLink || $SpamLink || $HamLink || $DeleteLink %> + + <% end_if %> +
<% end_if %> +<% if $Gravatar %>
Gravatar for $Name
<% end_if %> +
\ No newline at end of file