aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-21 15:03:33 -0800
committerzotlabs <mike@macgirvin.com>2016-12-21 15:03:33 -0800
commitbb85e139f110d2d65a54f8aefbd3777a99d053e2 (patch)
tree01cd01d854dfcc02a9571a9f6aca828a639d7975 /view/tpl
parentfcc92299ebaf5a723f31e44e2e16a6248bbdc04b (diff)
downloadvolse-hubzilla-bb85e139f110d2d65a54f8aefbd3777a99d053e2.tar.gz
volse-hubzilla-bb85e139f110d2d65a54f8aefbd3777a99d053e2.tar.bz2
volse-hubzilla-bb85e139f110d2d65a54f8aefbd3777a99d053e2.zip
more vcard work
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/abook_edit.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl
index 56ff75e69..069c38b52 100755
--- a/view/tpl/abook_edit.tpl
+++ b/view/tpl/abook_edit.tpl
@@ -204,7 +204,7 @@
<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}}
- {{if $vcard.tels.0}}<span class="vcard-tel-preview hidden-xs">{{$vcard.tels.0.nr}} <a href="tel:{{$vcard.tels.0.nr}}"><i class="fa fa-phone connphone"></i></a></span>{{/if}}
+ {{if $vcard.tels.0}}<span class="vcard-tel-preview hidden-xs">{{$vcard.tels.0.nr}}{{if $is_mobile}} <a class="btn btn-default btn-xs" href="tel:{{$vcard.tels.0.nr}}"><i class="fa fa-phone connphone"></i></a>{{/if}}</span>{{/if}}
</span>
<input id="vcard-fn-{{$vcard.id}}" class="vcard-fn" type="text" name="fn" value="{{$vcard.fn}}" size="{{$vcard.fn|count_characters:true}}" placeholder="{{$name_label}}">
</div>