Include comments pagination heading in pagination.
This commit is contained in:
@ -95,7 +95,6 @@
|
||||
<input name="serendipity[formAction]" type="hidden" value="multiDelete">
|
||||
|
||||
<div class="clearfix comments_pane">
|
||||
<h3>{$CONST.PAGE_BROWSE_COMMENTS|sprintf:$page:$pages:$totalComments}</h3>
|
||||
{if is_array($comments)}
|
||||
<ul id="serendipity_comments_list" class="clearfix plainList zebra_list">
|
||||
{foreach $comments AS $comment}
|
||||
@ -146,6 +145,8 @@
|
||||
{/if}
|
||||
{if ($page != 1 && $page <= $pages)||$page != $pages}
|
||||
<nav class="pagination">
|
||||
<h3>{$CONST.PAGE_BROWSE_COMMENTS|sprintf:$page:$pages:$totalComments}</h3>
|
||||
|
||||
<ul class="clearfix">
|
||||
<li class="prev">{if ($page != 1 && $page <= $pages)}<a class="button_link" href="{$linkPrevious}" title="{$CONST.PREVIOUS}"><span class="icon-left-circled"></span><span class="visuallyhidden"> {$CONST.PREVIOUS}</span></a>{else}<span class="visuallyhidden">{$CONST.NO_ENTRIES_TO_PRINT}</span>{/if}</li>
|
||||
<li class="next">{if $page != $pages}<a class="button_link" href="{$linkNext}" title="{$CONST.NEXT}"><span class="visuallyhidden">{$CONST.NEXT} </span><span class="icon-right-circled"></span></a>{else}<span class="visuallyhidden">{$CONST.NO_ENTRIES_TO_PRINT}</span>{/if}</li>
|
||||
|
@ -730,7 +730,7 @@ function highlightComment(id, checkvalue) {
|
||||
|
||||
// Clone pagination
|
||||
$('.media_pane .pagination').clone().prependTo('.media_pane');
|
||||
$('.comments_pane .pagination').clone().insertAfter('.comments_pane > h3');
|
||||
$('.comments_pane .pagination').clone().prependTo('.comments_pane');
|
||||
$('.entries_pane .pagination').clone().prependTo('.entries_pane');
|
||||
|
||||
// Equal Heights
|
||||
|
@ -1142,7 +1142,8 @@ main {
|
||||
} /* Temporary */
|
||||
|
||||
#edit_entry_timestamp,
|
||||
#media_pane_filter { position: relative; }
|
||||
#media_pane_filter,
|
||||
.comments_pane .pagination { position: relative; }
|
||||
|
||||
#reset_timestamp,
|
||||
#media_pane_filter #toggle_filters {
|
||||
@ -1150,6 +1151,14 @@ main {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.comments_pane .pagination h3 {
|
||||
font-size: 1em;
|
||||
font-weight: normal;
|
||||
position: absolute;
|
||||
top: -60%;
|
||||
left: 33%;
|
||||
}
|
||||
|
||||
#reset_timestamp {
|
||||
max-height: 1.25em;
|
||||
right: 0;
|
||||
|
Reference in New Issue
Block a user