Move comment author to details content.

Turns out it wasn't a good idea to have the comment author as the
summary element's content since it prevents clicking the comment
author action (because expanding the details element is the click
action).
This commit is contained in:
Matthias Mees 2013-07-05 22:02:11 +02:00
parent 58e8752e45
commit 697aef6be6
2 changed files with 3 additions and 3 deletions

View File

@ -103,8 +103,10 @@
<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>
<details>
<summary><b>{$CONST.AUTHOR}:</b> {$comment.author|escape|truncate:40:"&hellip;"} {$comment.action_author}</summary>
<summary>Comment data</summary> {* i18n *}
<dl class="comment_data clearfix">
<dt>{$CONST.AUTHOR}:</dt>
<dd>{$comment.author|escape|truncate:40:"&hellip;"} {$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:"&hellip;"}</a>{if $comment.subscribed == 'true'} <i>({$CONST.ACTIVE_COMMENT_SUBSCRIPTION})</i>{/if}{/if} {$comment.action_email}</dd>
<dt>IP:</dt>

View File

@ -1820,8 +1820,6 @@ form > .button_link:first-of-type,
visibility: visible;
}
input[name="serendipity[filter][fileCategory]"] {
display: none;
}