rename "switch to edit mode" buttons

pull/11/head
Dan Gowans 2025-04-30 10:19:16 -04:00
parent 7887230c86
commit 2ed7902320
5 changed files with 26 additions and 12 deletions

View File

@ -48,8 +48,10 @@
href="<%= urlPrefix %>/burialSites/<%= burialSite.burialSiteId %>/edit" href="<%= urlPrefix %>/burialSites/<%= burialSite.burialSiteId %>/edit"
accesskey="e"> accesskey="e">
<span class="icon"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span> <span class="icon"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span>
<span class="is-hidden-mobile">Switch to Edit Mode</span> <span>
<span class="is-hidden-tablet">Edit</span> Edit
<span class="is-hidden-mobile">Burial Site</span>
</span>
</a> </a>
<% } %> <% } %>
</div> </div>
@ -76,7 +78,11 @@
</p> </p>
<p> <p>
<strong>Status</strong><br /> <strong>Status</strong><br />
<%= burialSite.burialSiteStatus %> <% if (burialSite.burialSiteStatusId === null) { %>
<span class="has-text-grey">(No Status)</span>
<% } else { %>
<%= burialSite.burialSiteStatus %>
<% } %>
</p> </p>
</div> </div>
<% if (burialSite.burialSiteFields.length > 0) { %> <% if (burialSite.burialSiteFields.length > 0) { %>

View File

@ -53,8 +53,10 @@
href="<%= urlPrefix %>/cemeteries/<%= cemetery.cemeteryId %>/edit" href="<%= urlPrefix %>/cemeteries/<%= cemetery.cemeteryId %>/edit"
accesskey="e"> accesskey="e">
<span class="icon"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span> <span class="icon"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span>
<span class="is-hidden-mobile">Switch to Edit Mode</span> <span>
<span class="is-hidden-tablet">Edit</span> Edit
<span class="is-hidden-mobile">Cemetery</span>
</span>
</a> </a>
</div> </div>
<% } %> <% } %>
@ -139,7 +141,7 @@
<% } else if (cemetery.parentCemeteryLatitude && cemetery.parentCemeteryLongitude) { %> <% } else if (cemetery.parentCemeteryLatitude && cemetery.parentCemeteryLongitude) { %>
<div class="message is-info"> <div class="message is-info">
<p class="message-body"> <p class="message-body">
<strong>Coordinates not available for this child cemtery.</strong><br /> <strong>Coordinates not available for this child cemetery.</strong><br />
Coordinates for the parent cemetery are shown instead. Coordinates for the parent cemetery are shown instead.
</p> </p>
</div> </div>

View File

@ -102,8 +102,10 @@
href="<%= urlPrefix %>/contracts/<%= contract.contractId %>/edit" href="<%= urlPrefix %>/contracts/<%= contract.contractId %>/edit"
accesskey="e"> accesskey="e">
<span class="icon"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span> <span class="icon"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span>
<span class="is-hidden-mobile">Switch to Edit Mode</span> <span>
<span class="is-hidden-tablet">Edit</span> Edit
<span class="is-hidden-mobile">Contract</span>
</span>
</a> </a>
<% } %> <% } %>
</div> </div>

View File

@ -33,8 +33,10 @@
href="<%= urlPrefix %>/funeralHomes/<%= funeralHome.funeralHomeId %>/edit" href="<%= urlPrefix %>/funeralHomes/<%= funeralHome.funeralHomeId %>/edit"
accesskey="e"> accesskey="e">
<span class="icon"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span> <span class="icon"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span>
<span class="is-hidden-mobile">Switch to Edit Mode</span> <span>
<span class="is-hidden-tablet">Edit</span> Edit
<span class="is-hidden-mobile">Funeral Home</span>
</span>
</a> </a>
<% } %> <% } %>
</div> </div>

View File

@ -91,8 +91,10 @@
href="<%= urlPrefix %>/workOrders/<%= workOrder.workOrderId %>/edit" href="<%= urlPrefix %>/workOrders/<%= workOrder.workOrderId %>/edit"
accesskey="e"> accesskey="e">
<span class="icon"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span> <span class="icon"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span>
<span class="is-hidden-mobile">Switch to Edit Mode</span> <span>
<span class="is-hidden-tablet">Edit</span> Edit
<span class="is-hidden-mobile">Work Order</span>
</span>
</a> </a>
<% } %> <% } %>
<% } %> <% } %>