aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-06 19:44:13 -0800
committerfriendica <info@friendica.com>2012-12-06 19:44:13 -0800
commit2a7a5b2d0182193c96a12097dd3cf47f517e3553 (patch)
tree0cea565de0d76f4981d4ef141e25a5769ddd3a11 /view
parent8f864ebd193076d88c48c94da61088de930ab1bd (diff)
downloadvolse-hubzilla-2a7a5b2d0182193c96a12097dd3cf47f517e3553.tar.gz
volse-hubzilla-2a7a5b2d0182193c96a12097dd3cf47f517e3553.tar.bz2
volse-hubzilla-2a7a5b2d0182193c96a12097dd3cf47f517e3553.zip
move 'Connect' button to local chanview page, remove from remote profile pages - still requires some theming love
Diffstat (limited to 'view')
-rw-r--r--view/tpl/profile_vcard.tpl10
-rw-r--r--view/tpl/xchan_vcard.tpl11
2 files changed, 11 insertions, 10 deletions
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index 216f9665a..7ae62330c 100644
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -47,16 +47,6 @@
{{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" >$profile.homepage</a></dd></dl>{{ endif }}
- <div id="profile-extra-links">
- <ul>
- {{ if $connect }}
- <li><a id="dfrn-request-link" href="dfrn_request/$profile.nickname">$connect</a></li>
- {{ endif }}
- {{ if $wallmessage }}
- <li><a id="wallmessage-link" href="wallmessage/$profile.nickname">$wallmessage</a></li>
- {{ endif }}
- </ul>
- </div>
</div>
$contact_block
diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl
index 6bc56ce74..4e3f69b0c 100644
--- a/view/tpl/xchan_vcard.tpl
+++ b/view/tpl/xchan_vcard.tpl
@@ -2,3 +2,14 @@
<div class="fn">$name</div>
<div id="profile-photo-wrapper"><img class="vcard-photo photo" src="$photo" alt="name" /></div>
</div>
+
+
+
+<div id="profile-extra-links">
+<ul>
+{{ if $connect }}
+ <li><a id="follow-link" href="follow?f=&url=$follow">$connect</a></li>
+{{ endif }}
+</ul>
+</div>
+