aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-20 23:26:31 -0800
committerzotlabs <mike@macgirvin.com>2016-12-20 23:26:31 -0800
commit3d811a17feb9b3d0fd4dc09023e3b7b5fe1623ac (patch)
treebf33cc99db4ce8e8048a5c6c1a8682d26d267a28 /view
parentf3ec818a66e7909bcb744868cfef43c3481c4e43 (diff)
downloadvolse-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.css4
-rwxr-xr-xview/tpl/connection_template.tpl2
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>&nbsp;{{/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>&nbsp;{{/if}}<a href="{{$contact.url}}" title="{{$contact.img_hover}}" >{{$contact.name}}</a>{{if $contact.phone}}&nbsp;<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" >