[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:
parent
a35c43880d
commit
81493d8d40
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue