aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-03 10:53:08 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-03 10:53:08 +0200
commit66511d8f078cebdbad34bf1b40097159c2335bf4 (patch)
tree4241401e015d1a30777ad6c75689093d3d87ce9f /view/tpl
parentf52e5d90b0b8ca57c249139176729b56dc4e929d (diff)
downloadvolse-hubzilla-66511d8f078cebdbad34bf1b40097159c2335bf4.tar.gz
volse-hubzilla-66511d8f078cebdbad34bf1b40097159c2335bf4.tar.bz2
volse-hubzilla-66511d8f078cebdbad34bf1b40097159c2335bf4.zip
move common connections widget to left aside
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/remote_friends_common.tpl36
1 files changed, 12 insertions, 24 deletions
diff --git a/view/tpl/remote_friends_common.tpl b/view/tpl/remote_friends_common.tpl
index 7ec1a2e6b..9e149b574 100755
--- a/view/tpl/remote_friends_common.tpl
+++ b/view/tpl/remote_friends_common.tpl
@@ -1,28 +1,16 @@
<div class="widget">
- <div class="panel">
- <div class="section-subtitle-wrapper" role="tab" id="common-friends-visitor">
- <h3><a data-toggle="collapse" href="#common-friends-collapse">{{$desc}}</a></h3>
- </div>
- <div id="common-friends-collapse" class="collapse" role="tabpanel" aria-labelledby="common-friends-visitor">
- {{if $items}}
- {{foreach $items as $item}}
- <div class="profile-match-wrapper">
- <div class="profile-match-photo">
- <a href="{{$base}}/chanview?f=&url={{$item.xchan_url}}">
- <img src="{{$item.xchan_photo_m}}" width="80" height="80" alt="{{$item.xchan_name}}" title="{{$item.xchan_name}}" />
- </a>
- </div>
- <div class="profile-match-break"></div>
- <div class="profile-match-name">
- <a href="{{$base}}/chanview?f=&url={{$item.xchan_url}}" title="{{$item.xchan_name}}">{{$item.xchan_name}}</a>
- </div>
- <div class="profile-match-end"></div>
- </div>
- {{/foreach}}
- {{/if}}
- <div id="rfic-end" class="clear"></div>
- {{if $linkmore}}<button class="btn btn-default"><a href="{{$base}}/common/{{$uid}}">{{$more}}</a></button>{{/if}}
+ <h3>{{$desc}}</h3>
+ {{if $linkmore}}
+ <a class="allcontact-link" href="{{$base}}/common/{{$uid}}">{{$more}}</a>
+ {{/if}}
+ {{if $items}}
+ <div class="contact-block-content">
+ {{foreach $items as $item}}
+ <div class="contact-block-div">
+ <a class="contact-block-link mpfriend" href="{{$base}}/chanview?f=&url={{$item.xchan_url}}"><img class="contact-block-img mpfriend" src="{{$item.xchan_photo_s}}"alt="{{$item.xchan_name}}" title="{{$item.xchan_name}} [{{$item.xchan_addr}}]" /></a>
</div>
+ {{/foreach}}
</div>
-</div>
+ {{/if}}
+<div>