mirror of https://gitlab.com/bashrc2/epicyon
Simplified vcard download link
parent
f4490f67a4
commit
17cc5f9fda
|
@ -783,13 +783,18 @@ 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 + \
|
'download="contact_' + nickname + '@' + domain_full + \
|
||||||
'.vcf" tabindex="1" class="imageAnchor">' + \
|
'.vcf" tabindex="1" class="imageAnchor">VCF</a>\n'
|
||||||
'<img class="vcard" src="/icons/vcard.png" ' + \
|
|
||||||
'title="vCard" alt="vCard" /></a>\n'
|
|
||||||
|
|
||||||
html_str += \
|
html_str += \
|
||||||
' </figcaption>\n' + \
|
' </figcaption>\n' + \
|
||||||
|
|
Loading…
Reference in New Issue