Compare commits
No commits in common. "79cbb61ec3caccacf6d466af283a9a34505902c2" and "c3840970c49da1b2883041ac7d15b38a16421774" have entirely different histories.
79cbb61ec3
...
c3840970c4
3 changed files with 3 additions and 13 deletions
|
|
@ -261,14 +261,6 @@
|
||||||
"find": true,
|
"find": true,
|
||||||
"sort": true
|
"sort": true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "volume",
|
|
||||||
"title": "Volume",
|
|
||||||
"type": "string",
|
|
||||||
"columnWidth": 128,
|
|
||||||
"find": true,
|
|
||||||
"sort": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "language",
|
"id": "language",
|
||||||
"title": "Language",
|
"title": "Language",
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
||||||
// Director, Year and Country ----------------------------------------------
|
// Director, Year and Country ----------------------------------------------
|
||||||
|
|
||||||
renderGroup(['author', 'date', 'format']);
|
renderGroup(['author', 'date', 'format']);
|
||||||
renderGroup(['publisher', 'place', 'series', 'volume', 'language']);
|
renderGroup(['publisher', 'place', 'series', 'language']);
|
||||||
renderGroup(['source', 'links']);
|
renderGroup(['source', 'links']);
|
||||||
renderGroup(['movement', 'event', 'associatedgroups']);
|
renderGroup(['movement', 'event', 'associatedgroups']);
|
||||||
renderGroup(['tags']);
|
renderGroup(['tags']);
|
||||||
|
|
@ -270,7 +270,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Preview
|
// Preview
|
||||||
if (data.extension == 'pdf' && !isMultiple) {
|
if (data.extension == 'pdf') {
|
||||||
var $div = $('<div>').css({
|
var $div = $('<div>').css({
|
||||||
marginTop: '12px',
|
marginTop: '12px',
|
||||||
}).html(
|
}).html(
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
pandora.ui.infoView = function(data, isMixed) {
|
pandora.ui.infoView = function(data) {
|
||||||
isMixed = isMixed || {};
|
|
||||||
|
|
||||||
var ui = pandora.user.ui,
|
var ui = pandora.user.ui,
|
||||||
isMultiple = arguments.length == 2,
|
|
||||||
canEdit = pandora.site.capabilities.canEditMetadata[pandora.user.level] || data.editable,
|
canEdit = pandora.site.capabilities.canEditMetadata[pandora.user.level] || data.editable,
|
||||||
canRemove = pandora.site.capabilities.canRemoveItems[pandora.user.level] || data.editable,
|
canRemove = pandora.site.capabilities.canRemoveItems[pandora.user.level] || data.editable,
|
||||||
css = {
|
css = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue