vcard link without download

main
Bob Mottram 2024-08-14 12:06:48 +01:00
parent 66002b1769
commit 1691461149
1 changed files with 3 additions and 9 deletions

View File

@ -783,18 +783,12 @@ def _get_profile_header(base_dir: str, http_prefix: str, nickname: str,
translate) translate)
# show vcard download link # show vcard download link
# html_str += \
# ' <a href="/users/' + nickname + '.vcf" ' + \
# 'type="text/vcard" ' + \
# 'download="contact_' + nickname + '@' + domain_full + \
# '.vcf" tabindex="1" class="imageAnchor">' + \
# '<img class="vcard" src="/icons/vcard.png" ' + \
# 'title="vCard" alt="vCard" /></a>\n'
html_str += \ html_str += \
' <a href="/users/' + nickname + '.vcf" ' + \ ' <a href="/users/' + nickname + '.vcf" ' + \
'type="text/vcard" ' + \ 'type="text/vcard" ' + \
'download="contact_' + nickname + '@' + domain_full + \ 'tabindex="1" class="imageAnchor">' + \
'.vcf" tabindex="1">VCF</a>\n' '<img class="vcard" src="/icons/vcard.png" ' + \
'title="vCard" alt="vCard" /></a>\n'
html_str += \ html_str += \
' </figcaption>\n' + \ ' </figcaption>\n' + \