aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/profile_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/profile_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/profile_vcard.tpl')
-rwxr-xr-xview/tpl/profile_vcard.tpl11
1 files changed, 4 insertions, 7 deletions
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index c52c2cd81..bfd8ff042 100755
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -1,5 +1,8 @@
<div class="vcard">
<div id="profile-photo-wrapper"><img class="photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></div>
+ {{if $connect}}
+ <div class="connect-btn-wrapper"><a href="{{$connect_url}}" class="btn btn-block btn-success btn-sm"><i class="icon-plus"></i> {{$connect}}</a></div>
+ {{/if}}
{{if $profile.edit}}
<div class="dropdown">
<a class="profile-edit-side-link dropdown-toggle" data-toggle="dropdown" title="{{$profile.edit.3}}" href="#" ><i class="icon-pencil" title="{{$profile.edit.1}}" ></i></a>
@@ -45,16 +48,10 @@
{{if $diaspora}}
{{include file="diaspora_vcard.tpl"}}
{{/if}}
-
-{{if $connect}}
-<a href="{{$connect_url}}" class="rconnect"><i class="icon-plus connect-icon"></i> {{$connect}}</a>
-{{/if}}
-
-{{$rating}}
-
</div>
<div id="vcard-end"></div>
+{{$rating}}
{{$chanmenu}}