A more compact view for comments.
This commit is contained in:
parent
2f079c3ca4
commit
8bc65c5320
@ -102,18 +102,19 @@
|
||||
|
||||
<h4 id="c{$comment.id}">{($comment.type == 'NORMAL') ? $CONST.COMMENT : (($comment.type == 'TRACKBACK') ? $CONST.TRACKBACK : $CONST.PINGBACK )} #{$comment.id} – {$CONST.IN_REPLY_TO} <a href="{$comment.entry_url}">{$comment.title|escape}</a> {$CONST.ON} {$comment.timestamp|@formatTime:'%b %e %Y, %H:%M'}</h4>
|
||||
|
||||
<dl class="comment_data clearfix">
|
||||
<dt>{$CONST.AUTHOR}:</dt>
|
||||
<dd>{$comment.author|escape|truncate:40:"…"} {$comment.action_author}</dd>
|
||||
<dt>{$CONST.EMAIL}:</dt>
|
||||
<dd>{if empty($comment.email)}N/A{else}<a href="mailto:{$comment.email|escape}" title="{$comment.email|escape}">{$comment.email|escape|truncate:40:"…"}</a>{if $comment.subscribed == 'true'} <i>({$CONST.ACTIVE_COMMENT_SUBSCRIPTION})</i>{/if}{/if} {$comment.action_email}</dd>
|
||||
<dt>IP:</dt>
|
||||
<dd>{if empty($comment.ip)}N/A{else}{$comment.ip|escape}{/if} {$comment.action_ip}</dd>
|
||||
<dt>URL:</dt>
|
||||
<dd>{if empty($comment.url)}N/A{else}<a href="{$comment.url|escape}" title="{$comment.url|escape}">{$comment.url|escape|truncate:40:"…"}</a> {/if} {$comment.action_url}</dd>
|
||||
<dt>{$CONST.REFERER}:</dt>
|
||||
<dd>{if empty($comment.referer)}N/A{else}<a href="{$comment.referer|escape}" title="{$comment.referer|escape}">{$comment.referer|escape|truncate:40:"…"}</a>{/if} {$comment.action_referer}</dd>
|
||||
</dl>
|
||||
<details>
|
||||
<summary><b>{$CONST.AUTHOR}:</b> {$comment.author|escape|truncate:40:"…"} {$comment.action_author}</summary>
|
||||
<dl class="comment_data clearfix">
|
||||
<dt>{$CONST.EMAIL}:</dt>
|
||||
<dd>{if empty($comment.email)}N/A{else}<a href="mailto:{$comment.email|escape}" title="{$comment.email|escape}">{$comment.email|escape|truncate:40:"…"}</a>{if $comment.subscribed == 'true'} <i>({$CONST.ACTIVE_COMMENT_SUBSCRIPTION})</i>{/if}{/if} {$comment.action_email}</dd>
|
||||
<dt>IP:</dt>
|
||||
<dd>{if empty($comment.ip)}N/A{else}{$comment.ip|escape}{/if} {$comment.action_ip}</dd>
|
||||
<dt>URL:</dt>
|
||||
<dd>{if empty($comment.url)}N/A{else}<a href="{$comment.url|escape}" title="{$comment.url|escape}">{$comment.url|escape|truncate:40:"…"}</a> {/if} {$comment.action_url}</dd>
|
||||
<dt>{$CONST.REFERER}:</dt>
|
||||
<dd>{if empty($comment.referer)}N/A{else}<a href="{$comment.referer|escape}" title="{$comment.referer|escape}">{$comment.referer|escape|truncate:40:"…"}</a>{/if} {$comment.action_referer}</dd>
|
||||
</dl>
|
||||
</details>
|
||||
|
||||
<div id="c{$comment.id}_summary" class="comment_summary">{$comment.fullBody|truncate:120:"…"}</div>
|
||||
|
||||
|
@ -823,6 +823,7 @@ input[type=checkbox],
|
||||
|
||||
.serendipity_commentDirection,
|
||||
.configuration_group ul .form_check,
|
||||
#serendipity_comments_list details,
|
||||
#preview,
|
||||
.form_field,
|
||||
.form_area,
|
||||
@ -885,7 +886,8 @@ input[type=checkbox],
|
||||
.entry_info,
|
||||
.pagination,
|
||||
.media_choose .preview,
|
||||
.media_file_metadata dt {
|
||||
.media_file_metadata dt,
|
||||
#serendipity_comments_list details {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user