change format of created/modified on pad.ma info page

This commit is contained in:
rolux 2012-02-16 07:25:07 +00:00
parent f6bcda564a
commit 00f46f1dbe
3 changed files with 1 additions and 19 deletions

View file

@ -459,7 +459,7 @@ pandora.ui.infoView = function(data) {
.css({marginBottom: '4px'}) .css({marginBottom: '4px'})
.append(formatKey(key, true)) .append(formatKey(key, true))
.append( .append(
$('<div>').html(Ox.formatDate(data[key], '%F %T')) $('<div>').html(Ox.formatDate(data[key], '%B %e, %Y'))
) )
.appendTo($right); .appendTo($right);
}); });

View file

@ -7,15 +7,6 @@ pandora.ui.list = function() {
preview = false; preview = false;
if (view == 'list') { if (view == 'list') {
/*
keys = Ox.unique(Ox.merge(
$.map(pandora.user.ui.lists[pandora.user.ui.list].columns, function(id) {
return Ox.getObjectById(pandora.site.sortKeys, id);
}),
pandora.site.sortKeys
));
Ox.Log('', '$$$$', keys)
*/
that = Ox.TextList({ that = Ox.TextList({
columns: Ox.merge([{ columns: Ox.merge([{
align: 'center', align: 'center',
@ -365,14 +356,6 @@ pandora.ui.list = function() {
that = pandora.ui.clipPlayer(); that = pandora.ui.clipPlayer();
} else if (['map', 'calendar'].indexOf(view) > -1) { } else if (['map', 'calendar'].indexOf(view) > -1) {
that = pandora.ui.navigationView(view); that = pandora.ui.navigationView(view);
} else {
// fixme: ???
$list = Ox.Element('<div>')
.css({
width: '100px',
height: '100px',
background: 'red'
});
} }
if (['list', 'grid', 'clips', 'timelines'].indexOf(view) > -1) { if (['list', 'grid', 'clips', 'timelines'].indexOf(view) > -1) {

View file

@ -29,7 +29,6 @@ pandora.ui.mainPanel = function() {
); );
} else { } else {
if (['clips', 'clip'].indexOf(pandora.user.ui.listView) > -1) { if (['clips', 'clip'].indexOf(pandora.user.ui.listView) > -1) {
Ox.print('HELLO????', pandora.user.ui.itemFind)
pandora.$ui.list.options({find: pandora.user.ui.itemFind}); pandora.$ui.list.options({find: pandora.user.ui.itemFind});
} }
pandora.$ui.list.reloadList(); pandora.$ui.list.reloadList();