aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/xchan_vcard.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-01-21 10:42:20 +0100
committerMario Vavti <mario@mariovavti.com>2016-01-21 10:42:20 +0100
commit97ebf9021c5297a7ab2e3685bf920458d4bd3181 (patch)
treecff4e9037b7e597de5d8bfa699ca6405b58eb33c /view/tpl/xchan_vcard.tpl
parent8c5d5b8e1c1bda6281af4cc291e3e391d590a9ce (diff)
downloadvolse-hubzilla-97ebf9021c5297a7ab2e3685bf920458d4bd3181.tar.gz
volse-hubzilla-97ebf9021c5297a7ab2e3685bf920458d4bd3181.tar.bz2
volse-hubzilla-97ebf9021c5297a7ab2e3685bf920458d4bd3181.zip
bootstrapify rating and connect buttons. position the connect button more prominent right under the profile image
Diffstat (limited to 'view/tpl/xchan_vcard.tpl')
-rwxr-xr-xview/tpl/xchan_vcard.tpl9
1 files changed, 4 insertions, 5 deletions
diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl
index 2acbb24e4..ad409d75b 100755
--- a/view/tpl/xchan_vcard.tpl
+++ b/view/tpl/xchan_vcard.tpl
@@ -1,11 +1,10 @@
<div class="vcard">
<div id="profile-photo-wrapper"><a href="{{$link}}"><img class="vcard-photo photo" src="{{$photo}}" alt="{{$name}}" /></a></div>
+{{if $connect}}
+<div class="connect-btn-wrapper"><a href="follow?f=&url={{$follow}}" class="btn btn-block btn-success btn-sm"><i class="icon-plus"></i> {{$connect}}</a></div>
+{{/if}}
<div class="fn">{{$name}}</div>
</div>
-{{if $mode != 'mail'}}
-{{if $connect}}
- <a href="follow?f=&url={{$follow}}" class="rconnect"><i class="icon-plus connect-icon"></i> {{$connect}}</a>
-{{/if}}
-{{/if}}
+