2 <div class="generic-page-wrapper">
3 {{if $header}}<h3>{{$header}}: {{$name}}{{if $account_type}} <small>({{$account_type}})</small>{{/if}}</h3>{{/if}}
5 <div id="contact-edit-wrapper" >
11 <div id="contact-edit-content-wrapper">
12 <form action="contact/{{$contact_id}}" method="post" >
14 {{* This is the Action menu where contact related actions like 'ignore', 'hide' can be performed *}}
15 <ul id="contact-edit-actions" class="nav nav-pills preferences">
16 <li class="dropdown pull-right">
17 <button type="button" class="btn btn-link btn-sm dropdown-toggle" id="contact-edit-actions-button" data-toggle="dropdown" aria-expanded="false">
18 <i class="fa fa-angle-down" aria-hidden="true"></i> {{$contact_action_button}}
21 <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="contact-edit-actions-button" aria-haspopup="true" id="contact-actions-menu" >
22 {{if $lblsuggest}}<li role="presentation"><a role="menuitem" href="{{$contact_actions.suggest.url}}" title="{{$contact_actions.suggest.title}}">{{$contact_actions.suggest.label}}</a></li>{{/if}}
23 {{if $poll_enabled}}<li role="presentation"><a role="menuitem" href="{{$contact_actions.update.url}}" title="{{$contact_actions.update.title}}">{{$contact_actions.update.label}}</a></li>{{/if}}
24 {{if $lblsuggest || $poll_enabled}}
25 <li role="presentation" class="divider"></li>
27 <li role="presentation"><a role="menuitem" href="{{$contact_actions.block.url}}" title="{{$contact_actions.block.title}}">{{$contact_actions.block.label}}</a></li>
28 <li role="presentation"><a role="menuitem" href="{{$contact_actions.ignore.url}}" title="{{$contact_actions.ignore.title}}">{{$contact_actions.ignore.label}}</a></li>
29 {{if $contact_actions.archive.url}}<li role="presentation"><a role="menuitem" href="{{$contact_actions.archive.url}}" title="{{$contact_actions.archive.title}}">{{$contact_actions.archive.label}}</a></li>{{/if}}
30 {{if $contact_actions.delete.url}}<li role="presentation"><button role="menuitem" type="button" class="btn-link" title="{{$contact_actions.delete.title}}" onclick="addToModal('{{$contact_actions.delete.url}}?confirm=1');">{{$contact_actions.delete.label}}</button></li>{{/if}}
34 <div class="clear"></div>
37 <div id="contact-edit-status-wrapper">
38 <span id="contact-edit-contact-status">{{$contact_status}}</span>
40 {{* Block with status information about the contact *}}
42 {{if $relation_text}}<li><div id="contact-edit-rel">{{$relation_text}}</div></li>{{/if}}
43 {{if $nettype}}<li><div id="contact-edit-nettype">{{$nettype}}</div></li>{{/if}}
46 <li><div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
48 <span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval nofilter}}
49 <input class="btn btn-primary" type="submit" name="submit" value="{{$submit}}" />
54 {{if $lost_contact}}<li><div id="lost-contact-message">{{$lost_contact}}</div></li>{{/if}}
55 {{if $insecure}}<li><div id="insecure-message">{{$insecure}}</div></li> {{/if}}
56 {{if $blocked && !$pending}}<li><div id="block-message">{{$blocked}}</div></li>{{/if}}
57 {{if $pending}}<li><div id="pending-message">{{$pending}}</div></li>{{/if}}
58 {{if $ignored}}<li><div id="ignore-message">{{$ignored}}</div></li>{{/if}}
59 {{if $archived}}<li><div id="archive-message">{{$archived}}</div></li>{{/if}}
63 <!-- <li><a href="network/?cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li> -->
64 {{if $follow}}<li><div id="contact-edit-follow"><a href="{{$follow}}">{{$follow_text}}</a></div></li>{{/if}}
66 </div> {{* End of contact-edit-status-wrapper *}}
68 <div id="contact-edit-links-end"></div>
70 <div class="panel-group" id="contact-edit-tools" role="tablist" aria-multiselectable="true">
72 {{* Some information about the contact from the profile *}}
74 <div class="section-subtitle-wrapper" role="tab" id="contact-edit-profile">
76 <a class="accordion-toggle" data-toggle="collapse" data-parent="#contact-edit-tools" href="#contact-edit-profile-collapse" aria-expanded="true" aria-controls="contact-edit-profile-collapse">
77 {{$contact_profile_label}}
81 <div id="contact-edit-profile-collapse" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="contact-edit-profile">
82 <div class="section-content-tools-wrapper">
83 <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
84 <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 text-muted">{{$profileurllabel}}</div><a target="blank" href="{{$url}}">{{$profileurl}}</a>
88 <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
89 <hr class="profile-separator">
90 <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 text-muted">{{$location_label}}</div>
91 <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">{{$location}}</div>
96 <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
97 <hr class="profile-separator">
98 <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 text-muted">{{$xmpp_label}}</div>
99 <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">{{$xmpp}}</div>
104 <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
105 <hr class="profile-separator">
106 <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 text-muted">{{$keywords_label}}</div>
107 <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">{{$keywords}}</div>
112 <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
113 <hr class="profile-separator">
114 <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 text-muted">{{$about_label}}</div>
115 <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">{{$about nofilter}}</div>
120 <div class="clear"></div>
123 {{if $contact_settings_label}}
125 <div class="section-subtitle-wrapper" role="tab" id="contact-edit-settings">
127 <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#contact-edit-tools" href="#contact-edit-settings-collapse" aria-expanded="false" aria-controls="contact-edit-settings-collapse">
128 {{$contact_settings_label}}
132 <div id="contact-edit-settings-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="contact-edit-settings">
133 <div class="section-content-tools-wrapper">
135 <input type="hidden" name="contact_id" value="{{$contact_id}}">
137 {{include file="field_checkbox.tpl" field=$notify}}
138 {{if $fetch_further_information}}
139 {{include file="field_select.tpl" field=$fetch_further_information}}
140 {{if $fetch_further_information.2 == 2 || $fetch_further_information.2 == 3}} {{include file="field_textarea.tpl" field=$ffi_keyword_blacklist}} {{/if}}
142 {{include file="field_checkbox.tpl" field=$hidden}}
144 <div class="form-group pull-right settings-submit-wrapper" >
145 <button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
147 <div class="clear"></div>
155 <div class="section-subtitle-wrapper" role="tab" id="contact-edit-info">
157 <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#contact-edit-tools" href="#contact-edit-info-collapse" aria-expanded="false" aria-controls="contact-edit-info-collapse">
162 <div id="contact-edit-info-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="contact-edit-info">
163 <div class="section-content-tools-wrapper">
165 {{include file="field_textarea.tpl" field=$cinfo}}
167 <div class="form-group pull-right settings-submit-wrapper" >
168 <button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
170 <div class="clear"></div>
172 <h4>{{$lbl_info2}}</h4>
174 <div class="clear"></div>
182 <div class="section-subtitle-wrapper" role="tab" id="contact-edit-profile-select">
184 <a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#contact-edit-tools" href="#contact-edit-profile-select-collapse" aria-expanded="false" aria-controls="contact-edit-profile-select-collapse">
189 <div id="contact-edit-profile-select-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="contact-edit-profile-select">
190 <div class="section-content-tools-wrapper">
191 {{if $profile_select}}
192 <div id="contact-edit-profile-select-text">
195 <div class="form-group">
196 {{$profile_select nofilter}}
198 <div class="clear"></div>
201 <div class="form-group pull-right settings-submit-wrapper" >
202 <button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
204 <div class="clear"></div>
211 </form>{{* End of the form *}}
212 </div>{{* End of contact-edit-content-wrapper *}}