]> git.mxchange.org Git - friendica-addons.git/blob - templates/hovercard.tpl
hovercard for the frio theme (initial commit)
[friendica-addons.git] / templates / hovercard.tpl
1 <div class="basic-content" >
2         <div class="hover-card-details">
3                 <div class="hover-card-header left-align">
4                         <div class="hover-card-pic left-align">
5                                 <span class="image-wrapper medium">
6                                         <a href="{{$profile.url}}" title="{{$profile.name}}"><img href="" class="left-align thumbnail" src="{{$profile.thumb}}"></a>
7                                 </span>
8                         </div>
9                         <div class="hover-card-content">
10                                 <div class="profile-entry-name">
11                                         <h4 class="left-align1"><a href="{{$profile.url}}">{{$profile.name}}</a></h4>{{if $profile.account_type}}<span>{{$profile.account_type}}</span>{{/if}}
12                                 </div>
13                                 <div class="profile-details">
14                                         <span class="profile-addr">{{$profile.addr}}</span>
15                                         {{if $profile.network}}<span class="profile-network"> ({{$profile.network}})</span>{{/if}}
16                                 </div>
17                                 {{*{{if $profile.about}}<div class="profile-details profile-about">{{$profile.about}}</div>{{/if}}*}}
18         
19                         </div>
20                         <div class="hover-card-actions  right-aligned">
21                                 {{* here are the differnt actions like privat message, poke, delete and so on *}}
22                                 {{* @todo we have two different photo menus one for contacts and one for items at the network stream. We currently use the contact photo menu, so the items options are missing We need to move them *}}
23                                 <div class="hover-card-actions-social">
24                                         {{if $profile.actions.pm}}<a class="btn btn-labeled btn-primary btn-sm" onclick="addToModal('{{$profile.actions.pm.1}}')" title="{{$profile.actions.pm.0}}"><i class="fa fa-envelope" aria-hidden="true"></i></a>{{/if}}
25                                         {{if $profile.actions.poke}}<a class="btn btn-labeled btn-primary btn-sm" onclick="addToModal('{{$profile.actions.poke.1}}')" title="{{$profile.actions.poke.0}}"><i class="fa fa-heartbeat" aria-hidden="true"></i></a>{{/if}}
26                                 </div>
27                                 <div class="hover-card-actions-connection">
28                                         {{if $profile.actions.edit}}<a class="btn btn-labeled btn-primary btn-sm" href="{{$profile.actions.edit.1}}" title="{{$profile.actions.edit.0}}"><i class="fa fa-pencil" aria-hidden="true"></i></a>{{/if}}
29                                         {{if $profile.actions.drop}}<a class="btn btn-labeled btn-primary btn-sm" href="{{$profile.actions.drop.1}}" title="{{$profile.actions.drop.0}}"><i class="fa fa-user-times" aria-hidden="true"></i></a>{{/if}}
30                                         {{if $profile.actions.follow}}<a class="btn btn-labeled btn-primary btn-sm" href="{{$profile.actions.follow.1}}" title="{{$profile.actions.follow.0}}"><i class="fa fa-user-plus" aria-hidden="true"></i></a>{{/if}}
31                                 </div>
32                         </div>
33                 </div>
34
35                 <div class="clearfix"></div>
36
37         </div>
38 </div>
39 {{if $profile.tags}}<div class="hover-card-footer">{{$profile.tags}}</div>{{/if}}