Hide state if no state, fixes #25

This commit is contained in:
Mu-An Chiou 2015-04-03 12:42:20 +08:00
parent 8c65460501
commit a0a41e01aa

View File

@ -71,7 +71,7 @@
<h4 class="fauxButton">MOST RECENT SPOT</h4> <h4 class="fauxButton">MOST RECENT SPOT</h4>
<h2>{{name}}</h2> <h2>{{name}}</h2>
<p class="colorText">{{address}}<p> <p class="colorText">{{address}}<p>
<p class="colorText">{{city}}, {{state}} {{#postcode}}, {{postcode}} {{/postcode}}</p> <p class="colorText">{{city}}{{#state}}, {{state}}{{/state}}{{#postcode}}, {{postcode}}{{/postcode}}</p>
<ul> <ul>
<li><span class="category">Wifi:</span> {{wifipassword}}</li> <li><span class="category">Wifi:</span> {{wifipassword}}</li>
<li><span class="category">Outlets:</span> {{outlets}}</li> <li><span class="category">Outlets:</span> {{outlets}}</li>
@ -97,7 +97,7 @@
<h4 class="fauxButton">SELECTED SPOT</h4> <h4 class="fauxButton">SELECTED SPOT</h4>
<h2>{{name}}</h2> <h2>{{name}}</h2>
<p class="colorText">{{address}}<p> <p class="colorText">{{address}}<p>
<p class="colorText">{{city}}, {{state}} {{#postcode}}, {{postcode}} {{/postcode}}</p> <p class="colorText">{{city}}{{#state}}, {{state}}{{/state}}{{#postcode}}, {{postcode}}{{/postcode}}</p>
<ul> <ul>
<li><span class="category">Wifi:</span> {{wifipassword}}</li> <li><span class="category">Wifi:</span> {{wifipassword}}</li>
<li><span class="category">Outlets:</span> {{outlets}}</li> <li><span class="category">Outlets:</span> {{outlets}}</li>