[all] Show attachments one per line

The previous behaviour could cause overlapping images when there is more
than one image attached.
This commit is contained in:
Alberto Mardegan 2015-01-07 23:16:40 +01:00
parent a35c43880d
commit 81493d8d40
3 changed files with 3 additions and 3 deletions

View file

@ -145,7 +145,7 @@ Page {
} else {
attachmentLabel = a.title ? a.title : url.replace(/^.*[\/]/g, '')
}
attachmentsCode += "<a href=\"" + url + "\">" + attachmentLabel + "</a>"
attachmentsCode += "<a href=\"" + url + "\">" + attachmentLabel + "</a><br/>"
}
return attachmentsCode

View file

@ -316,7 +316,7 @@ Page {
} else {
attachmentLabel = a.title ? a.title : url.replace(/^.*[\/]/g, '')
}
attachmentsCode += "<a href=\"" + url + "\">" + attachmentLabel + "</a>"
attachmentsCode += "<a href=\"" + url + "\">" + attachmentLabel + "</a><br/>"
}
return attachmentsCode

View file

@ -192,7 +192,7 @@ Item {
} else {
attachmentLabel = a.title ? a.title : url.replace(/^.*[\/]/g, '')
}
attachmentsCode += "<a href=\"" + url + "\">" + attachmentLabel + "</a>"
attachmentsCode += "<a href=\"" + url + "\">" + attachmentLabel + "</a><br/>"
}
return attachmentsCode