|
115 | 115 | display: inline-block; |
116 | 116 | min-width: 100px; |
117 | 117 | } |
| 118 | + .textbox { |
| 119 | + border: 1px #ccc solid; |
| 120 | + padding: 3px; |
| 121 | + border-radius: 3px; |
| 122 | + margin-top: 3px; |
| 123 | + min-height: 32px; |
| 124 | + margin-bottom: 6px; |
| 125 | + } |
| 126 | + .textbox span { |
| 127 | + font-weight: 700; |
| 128 | + display: inline-block; |
| 129 | + min-width: 100px; |
| 130 | + } |
118 | 131 | .section { |
119 | 132 | margin-bottom: 25px; |
120 | 133 | page-break-inside: avoid; |
|
271 | 284 | <tr> |
272 | 285 | <strong>Conditions</strong> |
273 | 286 | <td> |
274 | | - <p>Floor condition</p><div class='box'>{{yHSIId}}</div> |
275 | | - <p>Roof condition</p><div class='box'>{{yHSIId}}</div> |
276 | | - <p>Wall condition</p><div class='box'>{{yHSIId}}</div> |
277 | | - <p>Door condition</p><div class='box'>{{yHSIId}}</div> |
| 287 | + <p>Floor condition</p><div class='box'>{{floorCondition}}</div> |
| 288 | + <p>Roof condition</p><div class='box'>{{roofCondition}}</div> |
| 289 | + <p>Wall condition</p><div class='box'>{{wallCondition}}</div> |
| 290 | + <p>Door condition</p><div class='box'>{{doorCondition}}</div> |
278 | 291 | </td> |
279 | 292 | <td> |
280 | | - <p>Site status</p><div class='box'>{{yHSIId}}</div> |
281 | | - <p>Building size</p><div class='box'>{{yHSIId}}</div> |
282 | | - <p>All other resource types</p><div class='box'>{{yHSIId}}</div> |
| 293 | + <p>Site status</p><div class='box'>{{siteStatus}}</div> |
| 294 | + <p>Building size</p><div class='box'>{{buildingSize}}</div> |
| 295 | + <p>All other resource types</p><div class='box'>{{resourceType}}</div> |
283 | 296 | <p>Condition notes</p><textarea>{{conditionComment}}</textarea> |
284 | 297 | </td> |
285 | 298 | </tr> |
|
344 | 357 | <h1>Associations</h1> |
345 | 358 | <hr /> |
346 | 359 |
|
347 | | - <strong>Associations</strong> |
348 | | - <table |
349 | | - class='infoTable' |
350 | | - border='0' |
351 | | - cellspacing='0' |
352 | | - cellpadding='0' |
353 | | - style='margin-bottom: 1em;' |
354 | | - > |
355 | | - <tr> |
356 | | - <td> |
357 | | - </td> |
358 | | - </tr> |
359 | | - </table> |
| 360 | + <div style='margin-bottom: 1em;'> |
| 361 | + <strong>Associations</strong> |
| 362 | + {{#if associations}} |
| 363 | + {{#each associations}} |
| 364 | + <div class='box'> |
| 365 | + {{type}} |
| 366 | + - |
| 367 | + {{description}} |
| 368 | + </div> |
| 369 | + {{/each}} |
| 370 | + {{else}} |
| 371 | + <div class='box'></div> |
| 372 | + {{/if}} |
| 373 | + </div> |
360 | 374 |
|
361 | 375 | <strong>First Nation Associations</strong> |
362 | 376 | <table class='infoTable' border='0' cellspacing='0' cellpadding='0'> |
363 | | - <tr> |
364 | | - <td> |
365 | | - </td> |
366 | | - </tr> |
| 377 | + {{#if firstNationAssociations}} |
| 378 | + {{#each firstNationAssociations}} |
| 379 | + <tr> |
| 380 | + <td> |
| 381 | + <div class='box'> |
| 382 | + {{firstNationAssociationType}} |
| 383 | + - |
| 384 | + {{firstNation}} |
| 385 | + - |
| 386 | + {{comments}} |
| 387 | + </div> |
| 388 | + </td> |
| 389 | + </tr> |
| 390 | + {{/each}} |
| 391 | + {{else}} |
| 392 | + <tr> |
| 393 | + <td> |
| 394 | + <div class='box'></div> |
| 395 | + </td> |
| 396 | + </tr> |
| 397 | + {{/if}} |
367 | 398 | </table> |
368 | 399 | </div> |
369 | 400 | {{/if}} |
|
374 | 405 | <hr /> |
375 | 406 |
|
376 | 407 | <strong>Ownerships</strong> |
377 | | - <table |
378 | | - class='infoTable' |
379 | | - border='0' |
380 | | - cellspacing='0' |
381 | | - cellpadding='0' |
382 | | - style='margin-bottom: 1em;' |
383 | | - > |
384 | | - <tr> |
385 | | - <td> |
386 | | - </td> |
387 | | - </tr> |
388 | | - </table> |
| 408 | + {{#if ownerships}} |
| 409 | + {{#each ownerships}} |
| 410 | + <div class='box'> |
| 411 | + {{ownershipType}} |
| 412 | + - |
| 413 | + {{comments}} |
| 414 | + </div> |
| 415 | + {{/each}} |
| 416 | + {{else}} |
| 417 | + <div class='box'></div> |
| 418 | + {{/if}} |
| 419 | + |
| 420 | + <div style='border-top: 1px #ccc solid; margin-top: 1em; margin-bottom: 1em;'></div> |
389 | 421 |
|
390 | 422 | <table |
391 | 423 | class='infoTable' |
|
396 | 428 | > |
397 | 429 | <tr> |
398 | 430 | <td> |
399 | | - <p>Zoning</p><div class='box'></div> |
400 | | - <p>Site district</p><div class='box'></div> |
401 | | - <p>Group</p><div class='box'></div> |
402 | | - <p>Block</p><div class='box'></div> |
| 431 | + <strong>Zoning</strong><div class='box'>{{zoning}}</div> |
| 432 | + <strong>Site district</strong><div class='box'>{{siteDistrictNumber}}</div> |
| 433 | + <strong>Group</strong><div class='box'>{{groupYHSI}}</div> |
| 434 | + <strong>Block</strong><div class='box'>{{block}}</div> |
403 | 435 | </td> |
404 | 436 | <td> |
405 | | - <p>Town site map number</p><div class='box'></div> |
406 | | - <p>Group YHSI</p><div class='box'></div> |
407 | | - <p>Lot</p><div class='box'></div> |
408 | | - <p>Plan number</p><div class='box'></div> |
| 437 | + <strong>Town site map number</strong><div class='box'>{{townSiteMapNumber}}</div> |
| 438 | + <strong>Group YHSI</strong><div class='box'>{{groupYHSI}}</div> |
| 439 | + <strong>Lot</strong><div class='box'>{{lot}}</div> |
| 440 | + <strong>Plan number</strong><div class='box'>{{planNumber}}</div> |
409 | 441 | </td> |
410 | 442 | </tr> |
411 | 443 | </table> |
412 | 444 |
|
| 445 | + <div style='border-top: 1px #ccc solid; margin-top: 1em; margin-bottom: 1em;'></div> |
| 446 | + |
413 | 447 | <strong>Previous Ownerships</strong> |
414 | | - <table class='infoTable' border='0' cellspacing='0' cellpadding='0'> |
415 | | - <tr> |
416 | | - <td> |
417 | | - </td> |
418 | | - </tr> |
419 | | - </table> |
| 448 | + {{#if previousOwnerships}} |
| 449 | + {{#each previousOwnerships}} |
| 450 | + <div style='margin-top: 1em;'> |
| 451 | + <div style='display: flex; gap: 1em;'> |
| 452 | + <div> |
| 453 | + <p>Ownership Date</p><div class='box'>{{ownershipDate}}</div> |
| 454 | + </div> |
| 455 | + <div> |
| 456 | + <p>Ownership Number</p><div class='box'>{{ownershipNumber}}</div> |
| 457 | + </div> |
| 458 | + </div> |
| 459 | + <p>Ownership Name</p><div class='box'>{{ownershipName}}</div> |
| 460 | + </div> |
| 461 | + |
| 462 | + <div style='border-top: 1px #ccc solid; margin-top: 1em; margin-bottom: 1em;'></div> |
| 463 | + {{/each}} |
| 464 | + {{else}} |
| 465 | + <div class='box'></div> |
| 466 | + {{/if}} |
420 | 467 | </div> |
421 | 468 | {{/if}} |
422 | 469 |
|
|
444 | 491 | border='0' |
445 | 492 | cellspacing='0' |
446 | 493 | cellpadding='0' |
447 | | - style='margin-bottom: 1em;' |
| 494 | + style='margin-top: 1em;' |
448 | 495 | > |
449 | | - <tr> |
450 | | - <td> |
451 | | - </td> |
452 | | - </tr> |
| 496 | + {{#if revisionLogs}} |
| 497 | + {{#each revisionLogs}} |
| 498 | + <tr> |
| 499 | + <td> |
| 500 | + <p>Revision Type</p><div class='box'>{{revisionLogType}}</div> |
| 501 | + <p>Revised By</p><div class='box'>{{revisedBy}}</div> |
| 502 | + </td> |
| 503 | + <td> |
| 504 | + <p>Date</p><div class='box'>{{revisionDate}}</div> |
| 505 | + <p>Details</p><div class='box'>{{details}}</div> |
| 506 | + </td> |
| 507 | + </tr> |
| 508 | + <tr> |
| 509 | + <td colspan='2'> |
| 510 | + <div |
| 511 | + style='border-top: 1px #ccc solid; margin-top: 1em; margin-bottom: 1em;' |
| 512 | + ></div> |
| 513 | + </td> |
| 514 | + </tr> |
| 515 | + {{/each}} |
| 516 | + {{else}} |
| 517 | + <tr> |
| 518 | + <td> |
| 519 | + <div class='box'></div> |
| 520 | + </td> |
| 521 | + </tr> |
| 522 | + {{/if}} |
453 | 523 | </table> |
454 | 524 |
|
455 | 525 | <strong>Contacts</strong> |
|
458 | 528 | border='0' |
459 | 529 | cellspacing='0' |
460 | 530 | cellpadding='0' |
461 | | - style='margin-bottom: 1em;' |
| 531 | + style='margin-top: 1em;' |
462 | 532 | > |
463 | | - <tr> |
464 | | - <td> |
465 | | - </td> |
466 | | - </tr> |
| 533 | + {{#if contacts}} |
| 534 | + {{#each contacts}} |
| 535 | + <tr> |
| 536 | + <td> |
| 537 | + <p>Type</p><div class='box'>{{contactType}}</div> |
| 538 | + </td> |
| 539 | + </tr> |
| 540 | + <tr> |
| 541 | + <td> |
| 542 | + <p>First Name</p><div class='box'>{{firstName}}</div> |
| 543 | + <p>Phone</p><div class='box'>{{phoneNumber}}</div> |
| 544 | + <p>Mailing Address</p><div class='box'>{{mailingAddress}}</div> |
| 545 | + </td> |
| 546 | + <td> |
| 547 | + <p>Last Name</p><div class='box'>{{lastName}}</div> |
| 548 | + <p>Email</p><div class='box'>{{email}}</div> |
| 549 | + <p>Description</p><div class='textbox'>{{description}}</div> |
| 550 | + </td> |
| 551 | + </tr> |
| 552 | + <tr> |
| 553 | + <td colspan='2'> |
| 554 | + <div |
| 555 | + style='border-top: 1px #ccc solid; margin-top: 1em; margin-bottom: 1em;' |
| 556 | + ></div> |
| 557 | + </td> |
| 558 | + </tr> |
| 559 | + {{/each}} |
| 560 | + {{else}} |
| 561 | + <tr> |
| 562 | + <td> |
| 563 | + <div class='box'></div> |
| 564 | + </td> |
| 565 | + </tr> |
| 566 | + {{/if}} |
467 | 567 | </table> |
468 | 568 |
|
469 | 569 | <strong>Web Links</strong> |
|
472 | 572 | border='0' |
473 | 573 | cellspacing='0' |
474 | 574 | cellpadding='0' |
475 | | - style='margin-bottom: 1em;' |
| 575 | + style='margin-top: 1em;' |
476 | 576 | > |
477 | | - <tr> |
478 | | - <td> |
479 | | - </td> |
480 | | - </tr> |
| 577 | + {{#if webLinks}} |
| 578 | + {{#each webLinks}} |
| 579 | + <tr> |
| 580 | + <td> |
| 581 | + <p>Link Type</p><div class='box'>{{type}}</div> |
| 582 | + </td> |
| 583 | + <td> |
| 584 | + <p>Web Address</p><div class='box'>{{address}}</div> |
| 585 | + </td> |
| 586 | + </tr> |
| 587 | + {{/each}} |
| 588 | + {{else}} |
| 589 | + <tr> |
| 590 | + <td> |
| 591 | + <div class='box'></div> |
| 592 | + </td> |
| 593 | + </tr> |
| 594 | + {{/if}} |
481 | 595 | </table> |
482 | 596 |
|
| 597 | + <div style='border-top: 1px #ccc solid; margin-top: 1em; margin-bottom: 1em;'></div> |
| 598 | + |
| 599 | + <strong>Designation Information</strong> |
483 | 600 | <table |
484 | 601 | class='infoTable' |
485 | 602 | border='0' |
486 | 603 | cellspacing='0' |
487 | 604 | cellpadding='0' |
488 | | - style='margin-bottom: 1em;' |
| 605 | + style='margin-top: 1em;' |
489 | 606 | > |
490 | 607 | <tr> |
491 | 608 | <td> |
492 | | - <strong>Designation Information</strong> |
493 | | - <p>Jurisdiction</p><div class='box'></div> |
494 | | - <p>Recognition Date</p><div class='box'></div> |
495 | | - <p>Owner Consent</p><div class='box'></div> |
| 609 | + <strong>Jurisdiction</strong><div class='box'>{{jurisdiction}}</div> |
| 610 | + <strong>Recognition Date</strong><div class='box'>{{recognitionDate}}</div> |
| 611 | + <strong>Owner Consent</strong><div class='box'>{{ownerConsent}}</div> |
| 612 | + <strong>Publicly Accessible</strong><div class='box'>{{isPubliclyAccessible}}</div> |
496 | 613 | </td> |
497 | 614 | <td> |
498 | | - <p>YG Building Number</p><div class='box'></div> |
499 | | - <p>YG Reserve Number</p><div class='box'></div> |
500 | | - <p>CIHB Number</p><div class='box'></div> |
501 | | - <p>FHBRO Number</p><div class='box'></div> |
| 615 | + <strong>YG Building Number</strong><div class='box'>{{yGBuildingNumber}}</div> |
| 616 | + <strong>YG Reserve Number</strong><div class='box'>{{yGReserveNumber}}</div> |
| 617 | + <strong>CIHB Number</strong><div class='box'>{{cIHBNumber}}</div> |
| 618 | + <strong>FHBRO Number</strong><div class='box'>{{fHBRONumber}}</div> |
502 | 619 | </td> |
503 | 620 | </tr> |
504 | 621 | </table> |
505 | 622 |
|
506 | | - <p>Statue - Recognition Authority / Recognition Type / Statute</p><div class='box'></div> |
| 623 | + <div style='border-top: 1px #ccc solid; margin-top: 1em; margin-bottom: 1em;'></div> |
| 624 | + |
| 625 | + <p>Statue - Recognition Authority / Recognition Type / Statute</p><div |
| 626 | + class='box' |
| 627 | + >{{statute}}</div> |
507 | 628 | <p>Secondary Statue - Recognition Authority / Recognition Type / Statute</p><div |
508 | 629 | class='box' |
509 | | - ></div> |
| 630 | + >{{secondaryStatute}}</div> |
510 | 631 | </div> |
511 | 632 | {{/if}} |
512 | 633 |
|
|
0 commit comments