display connection descriptions (info page)
This commit is contained in:
parent
0c7fc829d1
commit
73a885370c
1 changed files with 9 additions and 3 deletions
|
@ -439,9 +439,15 @@ pandora.ui.infoView = function(data) {
|
|||
].forEach(function(key) {
|
||||
data.connections[key] && html.push(
|
||||
formatKey(key) + data.connections[key].map(function(connection) {
|
||||
return connection.item
|
||||
return (
|
||||
connection.item
|
||||
? '<a href="/' + connection.item + '">' + connection.title + '</a>'
|
||||
: connection.title;
|
||||
: connection.title
|
||||
) + (
|
||||
connection.description
|
||||
? ' (' + formatLight(connection.description) + ')'
|
||||
: ''
|
||||
);
|
||||
}).join(', ')
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue