aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2013-11-28 13:06:31 +0000
committerplegall <plg@piwigo.org>2013-11-28 13:06:31 +0000
commit092fdc76e0e628d7d31cf10439cb4aa39637c99f (patch)
tree80ba66059bac1275ebd76fe6c4c6a12a15ca3464 /admin/themes/default
parent33d57530a3cfa77a544fa6526b9365a2701d75df (diff)
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
Diffstat (limited to 'admin/themes/default')
-rw-r--r--admin/themes/default/template/comments.tpl7
-rw-r--r--admin/themes/default/theme.css3
2 files changed, 8 insertions, 2 deletions
diff --git a/admin/themes/default/template/comments.tpl b/admin/themes/default/template/comments.tpl
index 908ffbe49..3b3a40422 100644
--- a/admin/themes/default/template/comments.tpl
+++ b/admin/themes/default/template/comments.tpl
@@ -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}&amp;filter=all" class="{if $filter == 'all'}commentFilterSelected{/if}">{'All'|@translate}</a> ({$nb_total})
| <a href="{$F_ACTION}&amp;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">
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css
index 46c3ea176..77a263266 100644
--- a/admin/themes/default/theme.css
+++ b/admin/themes/default/theme.css
@@ -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;}