aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2013-10-22 20:48:28 +0000
committerplegall <plg@piwigo.org>2013-10-22 20:48:28 +0000
commit1ba31363330f5d173845324a4ac624993b4e48b7 (patch)
tree11d0eebb0bbce48d06ed4451e999e66898337799 /admin/themes/default
parentfac62f863dceea47f90027c9404604ec74c559d3 (diff)
feature 2920: reuse "nb pending comments" calculation in admin/intro.
add missing CSS code in r25084 git-svn-id: http://piwigo.org/svn/trunk@25085 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/intro.tpl5
-rw-r--r--admin/themes/default/theme.css3
2 files changed, 4 insertions, 4 deletions
diff --git a/admin/themes/default/template/intro.tpl b/admin/themes/default/template/intro.tpl
index 926527e0e..a3c56c214 100644
--- a/admin/themes/default/template/intro.tpl
+++ b/admin/themes/default/template/intro.tpl
@@ -74,10 +74,7 @@ jQuery().ready(function(){
<li>{$DB_GROUPS}</li>
{if isset($DB_COMMENTS)}
<li>
- {$DB_COMMENTS}
- {if isset($unvalidated)}
- (<a href="{$unvalidated.URL}">{$unvalidated.INFO}</a>)
- {/if}
+ {$DB_COMMENTS}{if $NB_PENDING_COMMENTS > 0} (<a href="{$U_COMMENTS}">{'%d waiting for validation'|translate:$NB_PENDING_COMMENTS}</a>){/if}
</li>
{/if}
<li>{$DB_RATES}</li>
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css
index 7eba66a75..e39802d85 100644
--- a/admin/themes/default/theme.css
+++ b/admin/themes/default/theme.css
@@ -27,6 +27,9 @@ ul.categoryActions { margin: 0 2px; width: auto; list-style-position:outside;
.content div.comment blockquote {
margin-right: 0.5em; overflow: visible; /*avoid a very strange margin behaviour (all browsers) */ }
+.commentFilterSelected {color:#666;text-decoration:underline;}
+.comment .pendingFlag {font-style:italic;color:red;}
+
/* not used but should be */
#thePopuphelpPage .content { margin: 1em; }