forked from 0x2620/pandora
update pad.ma info view
This commit is contained in:
parent
7d17f387b5
commit
89296dd356
1 changed files with 5 additions and 4 deletions
|
@ -139,11 +139,11 @@ pandora.ui.infoView = function(data) {
|
|||
|
||||
// Source & Project --------------------------------------------------------
|
||||
|
||||
var count = 0;
|
||||
['source', 'project'].forEach(function(key) {
|
||||
|
||||
var $div = $('<div>').appendTo($data),
|
||||
value = data[key] || '';
|
||||
if (canEdit || value) {
|
||||
var $div = $('<div>').appendTo($data)
|
||||
if (canEdit || data[key]) {
|
||||
count && $('<br>').appendTo($div);
|
||||
$('<div>')
|
||||
.css({float: 'left'})
|
||||
.html(
|
||||
|
@ -200,6 +200,7 @@ pandora.ui.infoView = function(data) {
|
|||
})
|
||||
.appendTo($div);
|
||||
}
|
||||
count++;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue