Compare commits
No commits in common. "a218b906cca86c018ecffab608201b1732755a5e" and "1ccc8df75c2a5097be2064a4ceb191743f3b2e6e" have entirely different histories.
a218b906cc
...
1ccc8df75c
4 changed files with 2 additions and 21 deletions
|
@ -752,13 +752,6 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"capability": "canSeeMedia",
|
"capability": "canSeeMedia",
|
||||||
"find": true
|
"find": true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "filename",
|
|
||||||
"title": "Filename",
|
|
||||||
"type": ["string"],
|
|
||||||
"capability": "canSeeMedia",
|
|
||||||
"find": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "created",
|
"id": "created",
|
||||||
"title": "Date Created",
|
"title": "Date Created",
|
||||||
|
|
|
@ -400,7 +400,7 @@ pandora.URL = (function() {
|
||||||
// Documents
|
// Documents
|
||||||
views['documents'] = {
|
views['documents'] = {
|
||||||
list: ['grid', 'list', 'pages'],
|
list: ['grid', 'list', 'pages'],
|
||||||
item: ['view', 'info', 'data']
|
item: ['view', 'info']
|
||||||
};
|
};
|
||||||
sortKeys['documents'] = {
|
sortKeys['documents'] = {
|
||||||
list: {
|
list: {
|
||||||
|
|
|
@ -52,13 +52,6 @@ pandora.ui.document = function() {
|
||||||
$content.replaceWith(
|
$content.replaceWith(
|
||||||
$content = pandora.ui.documentInfoView(result.data)
|
$content = pandora.ui.documentInfoView(result.data)
|
||||||
);
|
);
|
||||||
} else if (pandora.user.ui.documentView == 'data') {
|
|
||||||
$content.replaceWith(
|
|
||||||
$content = Ox.TreeList({
|
|
||||||
data: result.data,
|
|
||||||
width: pandora.$ui.mainPanel.size(1) - Ox.UI.SCROLLBAR_SIZE
|
|
||||||
})
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
setContent();
|
setContent();
|
||||||
}
|
}
|
||||||
|
|
|
@ -184,12 +184,7 @@ pandora.ui.documentToolbar = function() {
|
||||||
items: [
|
items: [
|
||||||
{id: 'info', title: Ox._('View Info')},
|
{id: 'info', title: Ox._('View Info')},
|
||||||
{id: 'view', title: Ox._('View Document')}
|
{id: 'view', title: Ox._('View Document')}
|
||||||
].concat(
|
],
|
||||||
pandora.hasCapability('canSeeExtraItemViews') ? [
|
|
||||||
{id: 'data', title: Ox._('View Data')}
|
|
||||||
] : []
|
|
||||||
|
|
||||||
),
|
|
||||||
value: ui.documentView,
|
value: ui.documentView,
|
||||||
width: 128
|
width: 128
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue