get_type, no authors

This commit is contained in:
j 2014-05-21 13:07:41 +02:00
commit e14c686dac
2 changed files with 22 additions and 3 deletions

View file

@ -551,13 +551,26 @@ oml.ui.infoView = function(identifyData) {
.appendTo($div);
});
// -------- Primary ID
if (data.primaryid) {
$('<div>')
.css({
marginTop: '4px',
})
.html(
'<b>' + Ox.getObjectById(oml.config.itemKeys, data.primaryid[0]).title
+ ':</b> ' + data.primaryid[1]
)
.appendTo($info);
}
// -------- Classification
if (data.classification) {
$('<div>')
.css({
marginTop: '8px',
textAlign: 'justify'
})
.html(
formatValue(data.classification, 'classification')