aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-08-29 11:21:21 +0000
committerz0rglub <z0rglub@piwigo.org>2004-08-29 11:21:21 +0000
commit38f7bcd8ac94db8c460fe3913bb7d19c81a2e7dc (patch)
treefee40e989372cb4c1f1f32b9ee8126875162ff98 /template
parentc414a9133eea12bf5ccfd8e08d5af0a5ff270cf0 (diff)
simplier display of update result :
- number of new categories - number of new elements - number of deleted categories - number of deleted elements - only errors are fully listed git-svn-id: http://piwigo.org/svn/trunk@498 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/default/admin/update.tpl8
-rw-r--r--template/default/default.css12
2 files changed, 18 insertions, 2 deletions
diff --git a/template/default/admin/update.tpl b/template/default/admin/update.tpl
index 01cfeaabb..0a09dd23b 100644
--- a/template/default/admin/update.tpl
+++ b/template/default/admin/update.tpl
@@ -7,8 +7,12 @@
<!-- END introduction -->
<!-- BEGIN update -->
<div class="admin">{L_RESULT_UPDATE}</div>
-<br /><span style="color:#9cb4ce;">{update.NEW_CAT} {L_NEW_CATEGORY}</span>
-<br /><span style="color:#ffe1e1;">{update.DEL_CAT} {L_DEL_CATEGORY}</span>
+<ul style="text-align:left;">
+ <li class="update_summary_new">{update.NB_NEW_CATEGORIES} {L_NB_NEW_CATEGORIES}</li>
+ <li class="update_summary_new">{update.NB_NEW_ELEMENTS} {L_NB_NEW_ELEMENTS}</li>
+ <li class="update_summary_del">{update.NB_DEL_CATEGORIES} {L_NB_DEL_CATEGORIES}</li>
+ <li class="update_summary_del">{update.NB_DEL_ELEMENTS} {L_NB_DEL_ELEMENTS}</li>
+</ul>
<!-- BEGIN sync_metadata -->
<br />[ <a href="{update.sync_metadata.U_URL}">{L_UPDATE_SYNC_METADATA_QUESTION}</a> ]
<!-- END sync_metadata -->
diff --git a/template/default/default.css b/template/default/default.css
index aafaa4846..65292944e 100644
--- a/template/default/default.css
+++ b/template/default/default.css
@@ -327,3 +327,15 @@ span.thumb_picture {
span.thumb_category {
font-weight:normal;
}
+
+span.update_error_element, span.update_category_error {
+ color:orange;
+}
+
+.update_summary_new {
+ color:#9cb4ce;
+}
+
+.update_summary_del {
+ color:#ffe1e1;
+} \ No newline at end of file