lighten "no value"
parent
b9ae1e399c
commit
d29c6b5d29
|
|
@ -156,18 +156,18 @@
|
||||||
<td><%= lotOccupancy.occupancyStartDateString %></td>
|
<td><%= lotOccupancy.occupancyStartDateString %></td>
|
||||||
<td>
|
<td>
|
||||||
<% if (lotOccupancy.occupancyEndDate) { %>
|
<% if (lotOccupancy.occupancyEndDate) { %>
|
||||||
<%= lotOccupancy.occupancyEndDateString %>
|
<%= lotOccupancy.occupancyEndDateString %>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
(No End Date)
|
<span class="has-text-grey">(No End Date)</span>
|
||||||
<% } %>
|
<% } %>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<% if (lotOccupancy.lotOccupancyOccupants.length === 0) { %>
|
<% if (lotOccupancy.lotOccupancyOccupants.length === 0) { %>
|
||||||
(No <%= configFunctions.getProperty("aliases.occupants") %>)
|
<span class="has-text-grey">(No <%= configFunctions.getProperty("aliases.occupants") %>)</span>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<% const occupant = lotOccupancy.lotOccupancyOccupants[0]; %>
|
<% const occupant = lotOccupancy.lotOccupancyOccupants[0]; %>
|
||||||
<%= occupant.occupantName %>
|
<%= occupant.occupantName %>
|
||||||
<%= (lotOccupancy.lotOccupancyOccupants.length > 1 ? " plus " + (lotOccupancy.lotOccupancyOccupants.length - 1) : "") %>
|
<%= (lotOccupancy.lotOccupancyOccupants.length > 1 ? " plus " + (lotOccupancy.lotOccupancyOccupants.length - 1) : "") %>
|
||||||
<% } %>
|
<% } %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,11 @@
|
||||||
<% for (const lotOccupancyField of lotOccupancy.lotOccupancyFields) { %>
|
<% for (const lotOccupancyField of lotOccupancy.lotOccupancyFields) { %>
|
||||||
<p class="mb-2">
|
<p class="mb-2">
|
||||||
<strong><%= lotOccupancyField.occupancyTypeField %></strong><br />
|
<strong><%= lotOccupancyField.occupancyTypeField %></strong><br />
|
||||||
<%= lotOccupancyField.lotOccupancyFieldValue || "(No Value)" %>
|
<% if (lotOccupancyField.lotOccupancyFieldValue) { %>
|
||||||
|
<%= lotOccupancyField.lotOccupancyFieldValue %>
|
||||||
|
<% } else { %>
|
||||||
|
<span class="has-text-grey">(No Value)</span>
|
||||||
|
<% } %>
|
||||||
</p>
|
</p>
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue