diff options
author | zotlabs <mike@macgirvin.com> | 2016-12-20 23:26:31 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-12-20 23:26:31 -0800 |
commit | 3d811a17feb9b3d0fd4dc09023e3b7b5fe1623ac (patch) | |
tree | bf33cc99db4ce8e8048a5c6c1a8682d26d267a28 /view | |
parent | f3ec818a66e7909bcb744868cfef43c3481c4e43 (diff) | |
download | volse-hubzilla-3d811a17feb9b3d0fd4dc09023e3b7b5fe1623ac.tar.gz volse-hubzilla-3d811a17feb9b3d0fd4dc09023e3b7b5fe1623ac.tar.bz2 volse-hubzilla-3d811a17feb9b3d0fd4dc09023e3b7b5fe1623ac.zip |
provide call button on connections list if mobile|tablet and a phone number exists
Diffstat (limited to 'view')
-rw-r--r-- | view/css/mod_connections.css | 4 | ||||
-rwxr-xr-x | view/tpl/connection_template.tpl | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/view/css/mod_connections.css b/view/css/mod_connections.css index a33430e48..00e6e2a70 100644 --- a/view/css/mod_connections.css +++ b/view/css/mod_connections.css @@ -33,3 +33,7 @@ .contact-info-label { font-weight: bold; } + +.connphone { + color: green; +}
\ No newline at end of file diff --git a/view/tpl/connection_template.tpl b/view/tpl/connection_template.tpl index a238f5bc7..64d27e609 100755 --- a/view/tpl/connection_template.tpl +++ b/view/tpl/connection_template.tpl @@ -14,7 +14,7 @@ </form> {{/if}} </div> - <h3>{{if $contact.public_forum}}<i class="fa fa-comments-o"></i> {{/if}}<a href="{{$contact.url}}" title="{{$contact.img_hover}}" >{{$contact.name}}</a></h3> + <h3>{{if $contact.public_forum}}<i class="fa fa-comments-o"></i> {{/if}}<a href="{{$contact.url}}" title="{{$contact.img_hover}}" >{{$contact.name}}</a>{{if $contact.phone}} <a class="btn btn-default btn-xs" href="tel:{{$contact.phone}}" title="{{$contact.call}}"><i class="fa fa-phone connphone"></i></a>{{/if}}</h3> </div> <div class="section-content-tools-wrapper"> <div class="contact-photo-wrapper" > |