Make organization.name not-nullable, consolidate org in dash context
This commit is contained in:
parent
4f0b73c769
commit
a4c0e367a8
13 changed files with 118 additions and 50 deletions
|
|
@ -28,7 +28,7 @@ function onLoad() {
|
|||
map.addSource('tegola-nidus', {
|
||||
'type': 'vector',
|
||||
'tiles': [
|
||||
'https://{{.Config.URLTegola}}/maps/nidus/{z}/{x}/{y}?organization_id={{.User.OrganizationID}}'
|
||||
'https://{{.Config.URLTegola}}/maps/nidus/{z}/{x}/{y}?organization_id={{.User.Organization.ID}}'
|
||||
]
|
||||
//'minzoom': 6,
|
||||
//'maxzoom': 14
|
||||
|
|
@ -172,7 +172,7 @@ body {
|
|||
<!-- Dashboard Header -->
|
||||
<div class="row mb-4">
|
||||
<div class="col-md-6">
|
||||
<h1>{{ .Org }} Dashboard</h1>
|
||||
<h1>{{ .User.Organization.Name }} Dashboard</h1>
|
||||
<p class="text-muted">Overview of mosquito control activities in your district</p>
|
||||
</div>
|
||||
<div class="col-md-6 text-md-end d-flex align-items-center justify-content-md-end">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue