Merge pull request #137 in TEA/mina-sidor-fa-web from bugfix/TV-695-felmeddelande-roller to next
Squashed commit of the following:
commit 0a77df6c5cfaff5c2615bd1525485f1f7270a565
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Mon Sep 27 15:05:29 2021 +0200
Updated changelog
commit a8c356c2fb8079ce0cf3aae07008285aced778d0
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Mon Sep 27 15:02:42 2021 +0200
Removed unused variable
commit daf114fedb3a7a43c2d3e4f6ca588ddf145ef6c3
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Mon Sep 27 14:59:05 2021 +0200
Added unauthorized-alert component and implemented unauthorized warning inside deltagare
commit c781f485e12e6db61f470ec13c96d40cce3113fe
Merge: 86e224b 62e538e
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Mon Sep 27 14:15:41 2021 +0200
Merge branch 'next' into bugfix/TV-695-felmeddelande-roller
commit 86e224b06199210662d890179aa50e87793b126a
Author: Daniel Appelgren <daniel.appelgren@arbetsformedlingen.se>
Date: Mon Sep 27 12:08:51 2021 +0200
show role errors
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
<digi-notification-alert af-heading="Personalkontot saknar behörigheter!" af-variation="danger">
|
||||
<p>
|
||||
Ditt personalkonto behöver tilldelas en tjänst och utförande verksamheter för att det ska fungera korrekt. Ändra
|
||||
ditt personalkonto via personallistan eller kontakta din behörighetsadministratör om du inte kan ändra dina egna
|
||||
behörigheter.
|
||||
</p>
|
||||
</digi-notification-alert>
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
/* tslint:disable:no-unused-variable */
|
||||
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { UnauthorizedAlertComponent } from './unauthorized-alert.component';
|
||||
|
||||
describe('UnauthorizedAlertComponent', () => {
|
||||
let component: UnauthorizedAlertComponent;
|
||||
let fixture: ComponentFixture<UnauthorizedAlertComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [UnauthorizedAlertComponent],
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
||||
}).compileComponents();
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(UnauthorizedAlertComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'msfa-unauthorized-alert',
|
||||
templateUrl: './unauthorized-alert.component.html',
|
||||
styleUrls: ['./unauthorized-alert.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class UnauthorizedAlertComponent {}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
||||
import { UnauthorizedAlertComponent } from './unauthorized-alert.component';
|
||||
|
||||
@NgModule({
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
||||
declarations: [UnauthorizedAlertComponent],
|
||||
imports: [CommonModule],
|
||||
exports: [UnauthorizedAlertComponent],
|
||||
})
|
||||
export class UnauthorizedAlertModule {}
|
||||
Reference in New Issue
Block a user