better integration of home, about, preferences, login, etc, and support for /item/position urls

This commit is contained in:
rlx 2011-08-24 21:04:13 +00:00
commit c851db9d05
11 changed files with 402 additions and 322 deletions

View file

@ -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