]> git.mxchange.org Git - friendica.git/blob - view/templates/profile/index.tpl
Duplicated "hide-friends" setting removed
[friendica.git] / view / templates / profile / index.tpl
1 <div id="profile-page" class="generic-page-wrapper">
2     {{include file="section_title.tpl"}}
3
4     {{* The link to edit the profile*}}
5 {{if $is_owner}}
6         <div id="profile-edit-links">
7                 <ul class="nav nav-pills preferences">
8                         <li class="pull-right">
9                                 <a class="btn btn-link btn-sm" type="button" id="profile-edit-link" href="{{$edit_link.url}}" title="{{$edit_link.title}}">
10                                         <i class="fa fa-pencil-square-o" aria-hidden="true"></i>&nbsp;{{$edit_link.label}}
11                                 </a>
12                         </li>
13                 {{if count($view_as_contacts)}}
14                         <li class="pull-right">
15                                 <form action="{{$query_string}}" method="get">
16                                         <button type="submit" class="btn btn-sm">{{$view_as}}</button>
17                                         <select name="viewas" class="input-sm">
18                                                 <option value="0">Yourself</option>
19                                 {{foreach $view_as_contacts as $contact}}
20                                                 <option value="{{$contact.id}}"{{if $contact.id == $view_as_contact_id}} selected{{/if}}>{{$contact.name}}</option>
21                                 {{/foreach}}
22                                         </select>
23
24                                 </form>
25                         </li>
26                 {{/if}}
27                 </ul>
28                 <div class="clear"></div>
29         </div>
30 {{/if}}
31         <dl id="{{$basic_fields.fullname.id}}" class="row {{$basic_fields.fullname.class|default:'aprofile'}}">
32                 <dt class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$basic_fields.fullname.label}}</dt>
33                 <dd class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$basic_fields.fullname.value}}</dd>
34         </dl>
35
36 {{if $basic_fields.membersince}}
37         <dl id="aprofile-membersince" class="row {{$basic_fields.membersince.class|default:'aprofile'}}">
38                 <hr class="profile-separator">
39                 <dt class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$basic_fields.membersince.label}}</dt>
40                 <dd class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$basic_fields.membersince.value}}</dd>
41         </dl>
42 {{/if}}
43
44 {{if $basic_fields.birthday}}
45         <dl id="aprofile-birthday" class="row {{$basic_fields.birthday.class|default:'aprofile'}}">
46                 <hr class="profile-separator">
47                 <dt class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$basic_fields.birthday.label}}</dt>
48                 <dd class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$basic_fields.birthday.value}}</dd>
49         </dl>
50 {{/if}}
51
52 {{if $basic_fields.age}}
53         <dl id="aprofile-age" class="row {{$basic_fields.age.class|default:'aprofile'}}">
54                 <hr class="profile-separator">
55                 <dt class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$basic_fields.age.label}}</dt>
56                 <dd class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$basic_fields.age.value}}</dd>
57         </dl>
58 {{/if}}
59
60 {{if $basic_fields.location}}
61         <dl id="aprofile-location" class="row {{$basic_fields.location.class|default:'aprofile'}}">
62                 <hr class="profile-separator">
63                 <dt class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$basic_fields.location.label}}</dt>
64                 <dd class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$basic_fields.location.value}}</dd>
65         </dl>
66 {{/if}}
67
68 {{if $basic_fields.homepage}}
69         <dl id="aprofile-homepage" class="row {{$basic_fields.homepage.class|default:'aprofile'}}">
70                 <hr class="profile-separator">
71                 <dt class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$basic_fields.homepage.label}}</dt>
72                 <dd class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$basic_fields.homepage.value nofilter}}</dd>
73         </dl>
74 {{/if}}
75
76 {{if $basic_fields.xmpp}}
77         <dl id="aprofile-xmpp" class="row {{$basic_fields.xmpp.class|default:'aprofile'}}">
78                 <hr class="profile-separator">
79                 <dt class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$basic_fields.xmpp.label}}</dt>
80                 <dd class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$basic_fields.xmpp.value nofilter}}</dd>
81         </dl>
82 {{/if}}
83
84 {{if $basic_fields.pub_keywords}}
85         <dl id="aprofile-tags" class="row {{$basic_fields.pub_keywords.class|default:'aprofile'}}">
86                 <hr class="profile-separator">
87                 <dt class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$basic_fields.pub_keywords.label}}</dt>
88                 <dd class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">
89             {{foreach $basic_fields.pub_keywords.value as $tag}}
90                                 <a href="{{$tag.url}}" class="tag label btn-info sm">{{$tag.label}} <i class="fa fa-bolt" aria-hidden="true"></i></a>
91             {{/foreach}}
92                 </dd>
93         </dl>
94 {{/if}}
95
96 {{foreach $custom_fields as $custom_field}}
97         <dl id="{{$custom_field.id}}" class="row {{$custom_field.class|default:'aprofile'}}">
98                 <hr class="profile-separator">
99                 <dt class="col-lg-4 col-md-4 col-sm-4 col-xs-12 profile-label-name text-muted">{{$custom_field.label}}</dt>
100                 <dd class="col-lg-8 col-md-8 col-sm-8 col-xs-12 profile-entry">{{$custom_field.value nofilter}}</dd>
101         </dl>
102 {{/foreach}}
103 </div>