highlight edit mode button

deepsource-autofix-76c6eb20
Dan Gowans 2022-11-23 10:53:07 -05:00
parent 3311de77a9
commit 9de9247f34
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@
<% if (user.userProperties.canUpdate) { %>
<div class="fixed-container is-fixed-bottom-right mx-4 my-4 has-text-right is-hidden-print">
<a class="button is-circle is-primary has-tooltip-left"
<a class="button is-circle has-tooltip-left <%= (lotOccupancy.occupancyEndDate ? "is-warning" : "is-primary") %>"
data-tooltip="Update <%= configFunctions.getProperty("aliases.occupancy") %>"
href="<%= urlPrefix %>/lotOccupancies/<%= lotOccupancy.lotOccupancyId %>/edit"
accesskey="e">