Compare commits
3 Commits
c3840970c4
...
79cbb61ec3
Author | SHA1 | Date |
---|---|---|
j | 79cbb61ec3 | |
j | 522328693d | |
j | 6de857fbd0 |
|
@ -261,6 +261,14 @@
|
|||
"find": true,
|
||||
"sort": true
|
||||
},
|
||||
{
|
||||
"id": "volume",
|
||||
"title": "Volume",
|
||||
"type": "string",
|
||||
"columnWidth": 128,
|
||||
"find": true,
|
||||
"sort": true
|
||||
},
|
||||
{
|
||||
"id": "language",
|
||||
"title": "Language",
|
||||
|
|
|
@ -230,7 +230,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
|||
// Director, Year and Country ----------------------------------------------
|
||||
|
||||
renderGroup(['author', 'date', 'format']);
|
||||
renderGroup(['publisher', 'place', 'series', 'language']);
|
||||
renderGroup(['publisher', 'place', 'series', 'volume', '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') {
|
||||
if (data.extension == 'pdf' && !isMultiple) {
|
||||
var $div = $('<div>').css({
|
||||
marginTop: '12px',
|
||||
}).html(
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
pandora.ui.infoView = function(data) {
|
||||
pandora.ui.infoView = function(data, isMixed) {
|
||||
isMixed = isMixed || {};
|
||||
|
||||
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 = {
|
||||
|
|
Loading…
Reference in New Issue