/connedit do not show vcard and section selector if not yet approved. whitespace cleanup
This commit is contained in:
parent
47bc573de5
commit
0f89db3b46
@ -21,7 +21,7 @@
|
||||
{{if $abook_prev || $abook_next}}
|
||||
<div class="btn-group">
|
||||
<a href="connedit/{{$abook_prev}}{{if $section}}?f=§ion={{$section}}{{/if}}" class="btn btn-default btn-xs{{if ! $abook_prev}} disabled{{/if}}" ><i class="fa fa-backward"></i></a>
|
||||
<button class="btn btn-default btn-xs" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-bars"></i></button>
|
||||
<button class="btn btn-default btn-xs{{if $is_pending}} disabled{{/if}}" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-bars"></i></button>
|
||||
<a href="connedit/{{$abook_next}}{{if $section}}?f=§ion={{$section}}{{/if}}" class="btn btn-default btn-xs{{if ! $abook_next}} disabled{{/if}}" ><i class="fa fa-forward"></i></a>
|
||||
<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dLabel">
|
||||
{{foreach $sections as $s}}
|
||||
@ -89,9 +89,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="panel">
|
||||
|
||||
|
||||
{{if ! $is_pending}}
|
||||
<div id="template-form-vcard-org" class="form-group form-vcard-org">
|
||||
<div class="form-group form-vcard-org">
|
||||
<input type="text" name="org" value="" placeholder="{{$org_label}}">
|
||||
@ -186,7 +184,6 @@
|
||||
<textarea name="note" class="form-control"></textarea>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="section-content-wrapper-np">
|
||||
<div id="vcard-cancel-{{$vcard.id}}" class="vcard-cancel vcard-cancel-btn" data-id="{{$vcard.id}}" data-action="cancel"><i class="fa fa-close"></i></div>
|
||||
<div id="vcard-add-field-{{$vcard.id}}" class="dropdown pull-right vcard-add-field">
|
||||
@ -203,6 +200,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div id="vcard-header-{{$vcard.id}}" class="vcard-header" data-id="{{$vcard.id}}" data-action="open">
|
||||
<i class="vcard-fn-preview fa fa-address-card-o"></i>
|
||||
<span id="vcard-preview-{{$vcard.id}}" class="vcard-preview">
|
||||
{{if $vcard.fn}}<span class="vcard-fn-preview">{{$vcard.fn}}</span>{{/if}}
|
||||
{{if $vcard.emails.0.address}}<span class="vcard-email-preview hidden-xs"><a href="mailto:{{$vcard.emails.0.address}}">{{$vcard.emails.0.address}}</a></span>{{/if}}
|
||||
@ -372,13 +370,7 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{{/if}}
|
||||
|
||||
{{if $affinity}}
|
||||
<div class="panel">
|
||||
|
Reference in New Issue
Block a user