lighten "no value"

deepsource-autofix-76c6eb20
Dan Gowans 2022-08-30 13:25:29 -04:00
parent b9ae1e399c
commit d29c6b5d29
2 changed files with 11 additions and 7 deletions

View File

@ -158,12 +158,12 @@
<% if (lotOccupancy.occupancyEndDate) { %>
<%= lotOccupancy.occupancyEndDateString %>
<% } else { %>
(No End Date)
<span class="has-text-grey">(No End Date)</span>
<% } %>
</td>
<td>
<% if (lotOccupancy.lotOccupancyOccupants.length === 0) { %>
(No <%= configFunctions.getProperty("aliases.occupants") %>)
<span class="has-text-grey">(No <%= configFunctions.getProperty("aliases.occupants") %>)</span>
<% } else { %>
<% const occupant = lotOccupancy.lotOccupancyOccupants[0]; %>
<%= occupant.occupantName %>

View File

@ -94,7 +94,11 @@
<% for (const lotOccupancyField of lotOccupancy.lotOccupancyFields) { %>
<p class="mb-2">
<strong><%= lotOccupancyField.occupancyTypeField %></strong><br />
<%= lotOccupancyField.lotOccupancyFieldValue || "(No Value)" %>
<% if (lotOccupancyField.lotOccupancyFieldValue) { %>
<%= lotOccupancyField.lotOccupancyFieldValue %>
<% } else { %>
<span class="has-text-grey">(No Value)</span>
<% } %>
</p>
<% } %>
</div>