mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Add horizontal lines to map marker popup
This commit is contained in:
parent
19a6305b9d
commit
dfd2e2d108
@ -221,25 +221,25 @@ export default {
|
||||
(e.features[0].properties.type === 'group' ? '/group' : '/profile') +
|
||||
`/${e.features[0].properties.id}/${e.features[0].properties.slug}`
|
||||
let description = `
|
||||
<div>`
|
||||
description += `
|
||||
<div>
|
||||
<div>
|
||||
<i>${markerTypeLabel}:</i> <b>${e.features[0].properties.name}</b>
|
||||
</div>`
|
||||
description +=
|
||||
e.features[0].properties.about && e.features[0].properties.about.length > 0
|
||||
? `
|
||||
<hr>
|
||||
<div style="margin-top: 4pt;">
|
||||
<i>${markerAboutLabel}:</i> ${e.features[0].properties.about}
|
||||
</div>`
|
||||
: ''
|
||||
description += `
|
||||
<hr>
|
||||
<div style="margin-top: 4pt;">
|
||||
<i>${markerProfileLinkLabel}:</i>
|
||||
<br>
|
||||
<a href="${markerProfileLink}" target="_blank">${markerProfileLinkTitle}</a>
|
||||
</div>`
|
||||
description += `
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user