Compare commits

..

No commits in common. "79cbb61ec3caccacf6d466af283a9a34505902c2" and "c3840970c49da1b2883041ac7d15b38a16421774" have entirely different histories.

3 changed files with 3 additions and 13 deletions

View file

@ -261,14 +261,6 @@
"find": true,
"sort": true
},
{
"id": "volume",
"title": "Volume",
"type": "string",
"columnWidth": 128,
"find": true,
"sort": true
},
{
"id": "language",
"title": "Language",

View file

@ -230,7 +230,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
// Director, Year and Country ----------------------------------------------
renderGroup(['author', 'date', 'format']);
renderGroup(['publisher', 'place', 'series', 'volume', 'language']);
renderGroup(['publisher', 'place', 'series', 'language']);
renderGroup(['source', 'links']);
renderGroup(['movement', 'event', 'associatedgroups']);
renderGroup(['tags']);
@ -270,7 +270,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
}
// Preview
if (data.extension == 'pdf' && !isMultiple) {
if (data.extension == 'pdf') {
var $div = $('<div>').css({
marginTop: '12px',
}).html(

View file

@ -1,10 +1,8 @@
'use strict';
pandora.ui.infoView = function(data, isMixed) {
isMixed = isMixed || {};
pandora.ui.infoView = function(data) {
var ui = pandora.user.ui,
isMultiple = arguments.length == 2,
canEdit = pandora.site.capabilities.canEditMetadata[pandora.user.level] || data.editable,
canRemove = pandora.site.capabilities.canRemoveItems[pandora.user.level] || data.editable,
css = {