Add comment status to dashboard comments list.
This commit is contained in:
parent
38f01b02a6
commit
2307e892a9
@ -37,7 +37,7 @@
|
||||
<ol class="plainList">
|
||||
{if is_array($comments)}
|
||||
{foreach $comments as $comment}
|
||||
<li><b>{$comment.author|escape|truncate:30:"…"} {$CONST.IN} <a href="{$comment.entrylink}" title="Comment to {$comment.title}">#{$comment.id}</a></b>
|
||||
<li class="clearfix"><b>{$comment.author|escape|truncate:30:"…"} {$CONST.IN} <a href="{$comment.entrylink}" title="Comment to {$comment.title}">#{$comment.id}</a></b>
|
||||
<div class="comment_summary">{$comment.body|truncate:100:"…"}</div>
|
||||
|
||||
<div id="c{$comment.id}_full" class="comment_full additional_info">{$comment.fullBody}</div>
|
||||
@ -57,6 +57,9 @@
|
||||
<li><button class="button_link toggle_comment_full" type="button" data-href="#c{$comment.id}_full" title="{$CONST.TOGGLE_ALL}"><span class="icon-right-dir"></span><span class="visuallyhidden"> {$CONST.TOGGLE_ALL}</span></button></li>
|
||||
{/if}
|
||||
</ul>
|
||||
{if ($comment.status == 'pending') || ($comment.status == 'confirm')}
|
||||
<span class="comment_status">{$CONST.COMMENTS_FILTER_NEED_APPROVAL}</span>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
{else}
|
||||
|
@ -1442,7 +1442,8 @@ fieldset p,
|
||||
|
||||
.actions,
|
||||
.edit_actions,
|
||||
#dashboard_entries .entry_status {
|
||||
#dashboard > section .entry_status,
|
||||
#dashboard > section .comment_status {
|
||||
margin-top: .35em;
|
||||
margin-bottom: .35em;
|
||||
}
|
||||
@ -1703,11 +1704,12 @@ form > .button_link:first-of-type,
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
#dashboard_entries .actions {
|
||||
#dashboard > section .actions {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#dashboard_entries .entry_status {
|
||||
#dashboard > section .entry_status,
|
||||
#dashboard > section .comment_status {
|
||||
float: right;
|
||||
}
|
||||
|
||||
@ -1874,7 +1876,7 @@ form > .button_link:first-of-type,
|
||||
float: right;
|
||||
}
|
||||
|
||||
.comment_status {
|
||||
#serendipity_comments_list .comment_status {
|
||||
margin: .5em;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user