Add org name and user name to dashboard
This commit is contained in:
parent
ba8c0016ac
commit
c938cb231e
3 changed files with 6 additions and 2 deletions
|
|
@ -655,6 +655,7 @@ export interface User {
|
|||
}
|
||||
export interface Organization {
|
||||
id: number;
|
||||
name: string;
|
||||
service_area?: Bounds;
|
||||
}
|
||||
export interface UserNotificationCounts {
|
||||
|
|
|
|||
|
|
@ -2,9 +2,10 @@
|
|||
<!-- Dashboard Header -->
|
||||
<div class="row mb-4">
|
||||
<div class="col-md-6">
|
||||
<h1>{{ dashboard.organization.name }} Dashboard</h1>
|
||||
<h1>{{ session?.organization?.name }} Dashboard</h1>
|
||||
<p class="text-muted">
|
||||
Overview of mosquito control activities in your district
|
||||
Hey {{ session?.self?.display_name }}, here's an overview of mosquito
|
||||
control activities in your district
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue