aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-07 23:35:56 -0800
committerfriendica <info@friendica.com>2015-03-07 23:35:56 -0800
commit480dac1af2dd5ed5ba3105577559568237fe5d80 (patch)
tree1b95ce77ef4d643b1967d27b596a438be549deba /view
parent1351f9c81afd0636b8d84bb317f1b8e84f9767f4 (diff)
downloadvolse-hubzilla-480dac1af2dd5ed5ba3105577559568237fe5d80.tar.gz
volse-hubzilla-480dac1af2dd5ed5ba3105577559568237fe5d80.tar.bz2
volse-hubzilla-480dac1af2dd5ed5ba3105577559568237fe5d80.zip
add reddress to profile - but all is not as it seems. Copy to clipboard is blocked because it isn't really a reddress and won't work if you copy it and try and use it somewhere. We should really convert the symbol back to '@' on copy and allow it to be copied, but this isn't as easy as it sounds and is left as an exercise for the community. If we just allow it to be copied we'll get a lot of bugs that making friends doesn't work. It does, but that isn't a legitimate reddress and even if we made allowances for it, Diaspora and Friendica and other webfinger based services wouldn't and would just say it can't be found or it's an illegal address. So if we block copy we'll just get bugs that it can't be copied. Eventually somebody will see this checkin and take it on themselves to figure out how to fix the address when copied to clipboard and then allow it to be copied. And there will be joy.
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/profile_vcard.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index cae920c5d..2964d9c4b 100755
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -16,7 +16,7 @@
{{/if}}
<div class="fn">{{$profile.name}}{{if $profile.online}} <i class="icon-asterisk online-now" title="{{$profile.online}}"></i>{{/if}}</div>
-
+ {{if $reddress}}<div class="reddress" oncopy="return false;">{{$profile.reddress}}</div>{{/if}}
{{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
<div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></div>