Add header to status search page
This commit is contained in:
parent
fa0ac035ac
commit
765e437d6c
2 changed files with 6 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ type Contact struct {
|
|||
Phone string
|
||||
}
|
||||
type ContentStatus struct {
|
||||
District *ContentDistrict
|
||||
Error string
|
||||
MapboxToken string
|
||||
ReportID string
|
||||
|
|
|
|||
|
|
@ -16,6 +16,11 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
</script>
|
||||
{{end}}
|
||||
{{define "content"}}
|
||||
{{if (eq .District nil)}}
|
||||
{{template "header-rmo" .}}
|
||||
{{else}}
|
||||
{{template "header-district" .District}}
|
||||
{{end}}
|
||||
<div class="container my-4">
|
||||
<!-- Search Box -->
|
||||
<div class="card search-box mb-4">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue