mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-07 02:11:26 +02:00
feature 2920: add a navigation bar for long list of comments
git-svn-id: http://piwigo.org/svn/trunk@25744 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -45,10 +45,13 @@ jQuery(document).ready(function(){
|
||||
|
||||
<h2>{'User comments'|@translate} {$TABSHEET_TITLE}</h2>
|
||||
|
||||
<p style="text-align:left;margin-left:1em;">
|
||||
<div class="commentFilter">
|
||||
<a href="{$F_ACTION}&filter=all" class="{if $filter == 'all'}commentFilterSelected{/if}">{'All'|@translate}</a> ({$nb_total})
|
||||
| <a href="{$F_ACTION}&filter=pending" class="{if $filter == 'pending'}commentFilterSelected{/if}">{'Waiting'|@translate}</a> ({$nb_pending})
|
||||
</p>
|
||||
{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{if !empty($comments) }
|
||||
<form method="post" action="{$F_ACTION}" id="pendingComments">
|
||||
|
||||
@@ -1044,6 +1044,9 @@ p#uploadModeInfos {text-align:left;margin-top:1em;font-size:90%;color:#999;}
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
.commentFilter {text-align:left;margin:5px 1em;}
|
||||
.commentFilter .navigationBar {float:right; margin:0;}
|
||||
|
||||
FORM#categoryOrdering p.albumTitle {margin:0;}
|
||||
FORM#categoryOrdering p.albumActions {visibility:hidden; margin:0}
|
||||
FORM#categoryOrdering .categoryLi:hover p.albumActions {visibility:visible;}
|
||||
|
||||
Reference in New Issue
Block a user