bug 13534: template page - remove "All" drop down choice from regular user UI

This commit is contained in:
Jessica Wang 2012-02-09 10:34:25 -08:00
parent a4c891d002
commit 13f059d07e

View File

@ -14,7 +14,15 @@
id: 'templates',
label: 'Templates',
filters: {
all: { label: 'All' },
all: {
preFilter: function(args) {
if (isAdmin() || isDomainAdmin())
return true;
else
return false;
},
label: 'All'
},
mine: { label: 'Mine' },
featured: { label: 'Featured' },
community: { label: 'Community' }