mirror of https://gitlab.com/bashrc2/epicyon
vcard link without download
parent
66002b1769
commit
1691461149
|
@ -783,18 +783,12 @@ def _get_profile_header(base_dir: str, http_prefix: str, nickname: str,
|
|||
translate)
|
||||
|
||||
# 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 += \
|
||||
' <a href="/users/' + nickname + '.vcf" ' + \
|
||||
'type="text/vcard" ' + \
|
||||
'download="contact_' + nickname + '@' + domain_full + \
|
||||
'.vcf" tabindex="1">VCF</a>\n'
|
||||
'tabindex="1" class="imageAnchor">' + \
|
||||
'<img class="vcard" src="/icons/vcard.png" ' + \
|
||||
'title="vCard" alt="vCard" /></a>\n'
|
||||
|
||||
html_str += \
|
||||
' </figcaption>\n' + \
|
||||
|
|
Loading…
Reference in New Issue