vishwamano

source of vishwamano.com
git clone git://git.ricketyspace.net/vishwamano.git
Log | Files | Refs

commit e955f22e4e75af1ccf934758d6a5ccacd1c7ba7e
parent 3e600f1766607794d3236dc55edbcef8a325fb9c
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Wed, 12 Aug 2015 22:41:02 -0400

fixed the phone number issue in stay in touch aside.

	modified:   themes/bs3/templates/bio.tpl
	modified:   themes/bs3/templates/contact.tpl
	modified:   themes/bs3/templates/frontpage.tpl
	modified:   themes/bs3/templates/gallery-genre.tpl
	modified:   themes/bs3/templates/gallery.tpl
	modified:   themes/bs3/templates/p-classes.tpl
	modified:   themes/bs3/templates/students-gallery.tpl
	modified:   themes/bs3/templates/testimonials.tpl

Diffstat:
themes/bs3/templates/bio.tpl | 2+-
themes/bs3/templates/contact.tpl | 6++++++
themes/bs3/templates/frontpage.tpl | 2+-
themes/bs3/templates/gallery-genre.tpl | 2+-
themes/bs3/templates/gallery.tpl | 2+-
themes/bs3/templates/p-classes.tpl | 2+-
themes/bs3/templates/students-gallery.tpl | 2+-
themes/bs3/templates/testimonials.tpl | 2+-
8 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/themes/bs3/templates/bio.tpl b/themes/bs3/templates/bio.tpl @@ -54,6 +54,6 @@ $(window).resize(adjustHLine); <script> var uagent = navigator.userAgent.toLowerCase(); if(uagent.search('mobile') > -1) - $('#stay-in-touch').append('<li><a href="tel://+919176560151"><i class="fa fa-phone"></i></a></li>'); + $('#stay-in-touch').append('<li><a href="tel:+919176560151"><i class="fa fa-phone"></i></a></li>'); </script> {include file='footer.tpl'} diff --git a/themes/bs3/templates/contact.tpl b/themes/bs3/templates/contact.tpl @@ -66,3 +66,8 @@ function adjustAside() { $(document).ready(adjustAside); $(window).resize(adjustAside); </script> +<script> + var uagent = navigator.userAgent.toLowerCase(); + if(uagent.search('mobile') > -1) + $('#stay-in-touch').append('<li><a href="tel:+919176560151"><i class="fa fa-phone"></i></a></li>'); +</script>+ \ No newline at end of file diff --git a/themes/bs3/templates/frontpage.tpl b/themes/bs3/templates/frontpage.tpl @@ -73,6 +73,6 @@ $(window).resize(startVegas); <script> var uagent = navigator.userAgent.toLowerCase(); if(uagent.search('mobile') > -1) - $('#stay-in-touch').append('<li><a href="tel://+919176560151"><i class="fa fa-phone"></i></a></li>'); + $('#stay-in-touch').append('<li><a href="tel:+919176560151"><i class="fa fa-phone"></i></a></li>'); </script> {include file='footer.tpl'} diff --git a/themes/bs3/templates/gallery-genre.tpl b/themes/bs3/templates/gallery-genre.tpl @@ -99,6 +99,6 @@ $('#{$gallery_info['name']}').addClass('active'); <script> var uagent = navigator.userAgent.toLowerCase(); if(uagent.search('mobile') > -1) - $('#stay-in-touch').append('<li><a href="tel://+919176560151"><i class="fa fa-phone"></i></a></li>'); + $('#stay-in-touch').append('<li><a href="tel:+919176560151"><i class="fa fa-phone"></i></a></li>'); </script> {include file='footer.tpl'} diff --git a/themes/bs3/templates/gallery.tpl b/themes/bs3/templates/gallery.tpl @@ -69,6 +69,6 @@ $(window).resize(galleryNavAdjust); <script> var uagent = navigator.userAgent.toLowerCase(); if(uagent.search('mobile') > -1) - $('#stay-in-touch').append('<li><a href="tel://+919176560151"><i class="fa fa-phone"></i></a></li>'); + $('#stay-in-touch').append('<li><a href="tel:+919176560151"><i class="fa fa-phone"></i></a></li>'); </script> {include file='footer.tpl'} diff --git a/themes/bs3/templates/p-classes.tpl b/themes/bs3/templates/p-classes.tpl @@ -247,6 +247,6 @@ $(window).resize(adjustTable); <script> var uagent = navigator.userAgent.toLowerCase(); if(uagent.search('mobile') > -1) - $('#stay-in-touch').append('<li><a href="tel://+919176560151"><i class="fa fa-phone"></i></a></li>'); + $('#stay-in-touch').append('<li><a href="tel:+919176560151"><i class="fa fa-phone"></i></a></li>'); </script> {include file='footer.tpl'} diff --git a/themes/bs3/templates/students-gallery.tpl b/themes/bs3/templates/students-gallery.tpl @@ -119,6 +119,6 @@ $(window).resize(adjustHRLine); <script> var uagent = navigator.userAgent.toLowerCase(); if(uagent.search('mobile') > -1) - $('#stay-in-touch').append('<li><a href="tel://+919176560151"><i class="fa fa-phone"></i></a></li>'); + $('#stay-in-touch').append('<li><a href="tel:+919176560151"><i class="fa fa-phone"></i></a></li>'); </script> {include file='footer.tpl'} diff --git a/themes/bs3/templates/testimonials.tpl b/themes/bs3/templates/testimonials.tpl @@ -71,6 +71,6 @@ $(window).resize(adjustHRLine); <script> var uagent = navigator.userAgent.toLowerCase(); if(uagent.search('mobile') > -1) - $('#stay-in-touch').append('<li><a href="tel://+919176560151"><i class="fa fa-phone"></i></a></li>'); + $('#stay-in-touch').append('<li><a href="tel:+919176560151"><i class="fa fa-phone"></i></a></li>'); </script> {include file='footer.tpl'}