better integration of home, about, preferences, login, etc, and support for /item/position urls
This commit is contained in:
parent
9a47b5020f
commit
c851db9d05
11 changed files with 402 additions and 322 deletions
|
|
@ -7,9 +7,7 @@ pandora.ui.viewSelect = function() {
|
|||
checked: pandora.user.ui.lists[pandora.user.ui.list].listView == view.id,
|
||||
title: 'View ' + view.title
|
||||
});
|
||||
}) : pandora.site.itemViews.filter(function(view) {
|
||||
return !view.admin || pandora.user.level == 'admin';
|
||||
}).map(function(view) {
|
||||
}) : pandora.site.itemViews.map(function(view) {
|
||||
return $.extend($.extend({}, view), {
|
||||
checked: pandora.user.ui.itemView == view.id,
|
||||
title: 'View: ' + view.title
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue