mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
bug 13534: template page - remove "All" drop down choice from regular user UI
This commit is contained in:
parent
a4c891d002
commit
13f059d07e
@ -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' }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user