Gobernanza: the header's domain switcher, model titles, confirmations, a stop button, an upload button
This commit is contained in:
+5
-3
@@ -4,7 +4,9 @@
|
||||
<img src="assets/branding/isssteleon-logo.png" alt="ISSSTELEON" />
|
||||
</a>
|
||||
@if (domain(); as current) {
|
||||
<span class="title">Plataforma de Indicadores</span>
|
||||
<span class="title">{{
|
||||
section() === 'gobernanza' ? 'Gobernanza de modelos' : 'Plataforma de Indicadores'
|
||||
}}</span>
|
||||
<button
|
||||
mat-flat-button
|
||||
class="domain"
|
||||
@@ -16,7 +18,7 @@
|
||||
</button>
|
||||
<mat-menu #menu="matMenu">
|
||||
@for (d of others(); track d) {
|
||||
<a mat-menu-item [routerLink]="['/indicadores', d]">{{ labels[d] }}</a>
|
||||
<a mat-menu-item [routerLink]="['/' + section(), d]">{{ labels[d] }}</a>
|
||||
}
|
||||
</mat-menu>
|
||||
} @else {
|
||||
@@ -31,7 +33,7 @@
|
||||
</nav>
|
||||
@if (auth.user(); as u) {
|
||||
<button mat-button class="user" [matMenuTriggerFor]="account" aria-label="Cuenta">
|
||||
<mat-icon>account_circle</mat-icon> {{ u.name || u.email }}
|
||||
<mat-icon>account_circle</mat-icon><span class="who-name">{{ u.name || u.email }}</span>
|
||||
</button>
|
||||
<mat-menu #account="matMenu">
|
||||
<span class="who" mat-menu-item disabled>{{ u.email }}</span>
|
||||
|
||||
Reference in New Issue
Block a user