diff options
author | plegall <plg@piwigo.org> | 2015-10-09 19:13:30 +0200 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2015-10-09 20:17:27 +0200 |
commit | 92224bcbf49d58829988eb0485afc17695f6de0c (patch) | |
tree | 1009cfcdb5f1f52f36e56e52a20d970f1ea318f1 /admin/themes/default/template/admin.tpl | |
parent | 47ebd6c91f630c7b970d5abb9f1451a637afb517 (diff) |
fix #357 make orphans photos more obvious
... and easy to delete them all in one click. The orpans, if any, is shown as an entry in the "Photos" menu (link on Batch Manager). In the Batch Manager, new action "delete_orphans" next to prefilter.
Diffstat (limited to 'admin/themes/default/template/admin.tpl')
-rw-r--r-- | admin/themes/default/template/admin.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl index 67e0832bb..318075406 100644 --- a/admin/themes/default/template/admin.tpl +++ b/admin/themes/default/template/admin.tpl @@ -42,6 +42,9 @@ $('#menubar').lightAccordion({ {if $NB_PHOTOS_IN_CADDIE > 0} <li><a href="{$U_CADDIE}"><i class="icon-flag"></i>{'Caddie'|@translate}<span class="adminMenubarCounter">{$NB_PHOTOS_IN_CADDIE}</span></a></li> {/if} +{if $NB_ORPHANS > 0} + <li><a href="{$U_ORPHANS}"><i class="icon-heart-broken"></i>{'Orphans'|@translate}<span class="adminMenubarCounter">{$NB_ORPHANS}</span></a></li> +{/if} </ul> </dd> </dl> |