diff --git a/public/javascripts/burialSite.edit.ts b/public/javascripts/burialSite.edit.ts index 7ad21c81..5cc828a0 100644 --- a/public/javascripts/burialSite.edit.ts +++ b/public/javascripts/burialSite.edit.ts @@ -8,6 +8,7 @@ import type { BurialSiteComment, BurialSiteTypeField } from '../../types/recordTypes.js' + import type { Sunrise } from './types.js' declare const cityssm: cityssmGlobal @@ -399,6 +400,7 @@ declare const exports: Record editCloseModalFunction = closeModalFunction }, + onremoved() { bulmaJS.toggleHtmlClipped() } @@ -562,6 +564,7 @@ declare const exports: Record ) as HTMLTextAreaElement ).focus() }, + onremoved() { bulmaJS.toggleHtmlClipped() ;( diff --git a/public/javascripts/burialSite.search.ts b/public/javascripts/burialSite.search.ts index be963cb2..9afb4876 100644 --- a/public/javascripts/burialSite.search.ts +++ b/public/javascripts/burialSite.search.ts @@ -28,9 +28,9 @@ declare const exports: Record function renderBurialSites(rawResponseJSON: unknown): void { const responseJSON = rawResponseJSON as { + burialSites: BurialSite[] count: number offset: number - burialSites: BurialSite[] } if (responseJSON.burialSites.length === 0) { diff --git a/public/javascripts/burialSiteTypes.admin.js b/public/javascripts/burialSiteTypes.admin.js index 4e9bc130..a3cb3f44 100644 --- a/public/javascripts/burialSiteTypes.admin.js +++ b/public/javascripts/burialSiteTypes.admin.js @@ -195,7 +195,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); function confirmDoDelete() { bulmaJS.confirm({ title: 'Delete Field', - message: 'Are you sure you want to delete this field? Note that historical records that make use of this field will not be affected.', + message: `Are you sure you want to delete this field? + Note that historical records that make use of this field will not be affected.`, contextualColorName: 'warning', okButton: { text: 'Yes, Delete Field', diff --git a/public/javascripts/burialSiteTypes.admin.ts b/public/javascripts/burialSiteTypes.admin.ts index 4fbd8662..dd85c16e 100644 --- a/public/javascripts/burialSiteTypes.admin.ts +++ b/public/javascripts/burialSiteTypes.admin.ts @@ -364,7 +364,8 @@ type ResponseJSON = bulmaJS.confirm({ title: 'Delete Field', message: - 'Are you sure you want to delete this field? Note that historical records that make use of this field will not be affected.', + `Are you sure you want to delete this field? + Note that historical records that make use of this field will not be affected.`, contextualColorName: 'warning', okButton: { text: 'Yes, Delete Field', @@ -713,6 +714,7 @@ type ResponseJSON = bulmaJS.toggleHtmlClipped() }, + onremoved() { bulmaJS.toggleHtmlClipped() } diff --git a/views/_header.ejs b/views/_header.ejs index b819d553..ee123963 100644 --- a/views/_header.ejs +++ b/views/_header.ejs @@ -52,10 +52,7 @@ - + Contracts diff --git a/views/_menu-admin.ejs b/views/_menu-admin.ejs index db8aad04..60834994 100644 --- a/views/_menu-admin.ejs +++ b/views/_menu-admin.ejs @@ -23,7 +23,7 @@ aria-label="Contract Type Management">
- +
Contract Types diff --git a/views/admin-contractTypes.ejs b/views/admin-contractTypes.ejs index b324cdf2..49f40512 100644 --- a/views/admin-contractTypes.ejs +++ b/views/admin-contractTypes.ejs @@ -40,7 +40,7 @@