forked from 0x2620/pandora
change format of created/modified on pad.ma info page
This commit is contained in:
parent
f6bcda564a
commit
00f46f1dbe
3 changed files with 1 additions and 19 deletions
|
@ -459,7 +459,7 @@ pandora.ui.infoView = function(data) {
|
|||
.css({marginBottom: '4px'})
|
||||
.append(formatKey(key, true))
|
||||
.append(
|
||||
$('<div>').html(Ox.formatDate(data[key], '%F %T'))
|
||||
$('<div>').html(Ox.formatDate(data[key], '%B %e, %Y'))
|
||||
)
|
||||
.appendTo($right);
|
||||
});
|
||||
|
|
|
@ -7,15 +7,6 @@ pandora.ui.list = function() {
|
|||
preview = false;
|
||||
|
||||
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({
|
||||
columns: Ox.merge([{
|
||||
align: 'center',
|
||||
|
@ -365,14 +356,6 @@ pandora.ui.list = function() {
|
|||
that = pandora.ui.clipPlayer();
|
||||
} else if (['map', 'calendar'].indexOf(view) > -1) {
|
||||
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) {
|
||||
|
|
|
@ -29,7 +29,6 @@ pandora.ui.mainPanel = function() {
|
|||
);
|
||||
} else {
|
||||
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.reloadList();
|
||||
|
|
Loading…
Reference in a new issue