make phone number optional

This commit is contained in:
Rioting Pacifist 2020-02-28 17:34:09 +00:00
parent 92e75d8ed9
commit f6e23db94f

View File

@ -9,7 +9,7 @@
<hr/> <hr/>
<div class="contact-details clearfix"> <div class="contact-details clearfix">
{{#if r.location.city}}<div class="detail"><span class="icon"><i class="icon fs-lg fa fa-map-marker"></i></span><span class="info">{{#if r.location.address}}{{r.location.address}}, {{/if}}{{r.location.city}}{{#if r.location.region}}, {{r.location.region}}{{/if}}{{#if r.location.country}}, {{r.location.country}}{{/if}}</span></div>{{/if}} {{#if r.location.city}}<div class="detail"><span class="icon"><i class="icon fs-lg fa fa-map-marker"></i></span><span class="info">{{#if r.location.address}}{{r.location.address}}, {{/if}}{{r.location.city}}{{#if r.location.region}}, {{r.location.region}}{{/if}}{{#if r.location.country}}, {{r.location.country}}{{/if}}</span></div>{{/if}}
<div class="detail"><span class="icon"><i class="icon fs-lg fa fa-phone"></i></span><span itemprop="telephone" class="info">{{r.contact.phone}}</span></div> {{#if r.contact.phone}}<div class="detail"><span class="icon"><i class="icon fs-lg fa fa-phone"></i></span><span itemprop="telephone" class="info">{{r.contact.phone}}</span></div>{{/if}}
<div class="detail"><span class="icon"><i class="icon fs-lg fa fa-envelope-o"></i></span><span class="info" itemprop="email">{{{r.contact.email}}}</span> <div class="detail"><span class="icon"><i class="icon fs-lg fa fa-envelope-o"></i></span><span class="info" itemprop="email">{{{r.contact.email}}}</span>
</div> </div>
<div class="detail"><span class="icon"><i class="icon fs-lg fa fa-link"></i></span><span class="info">{{{r.contact.website}}}</span></div> <div class="detail"><span class="icon"><i class="icon fs-lg fa fa-link"></i></span><span class="info">{{{r.contact.website}}}</span></div>