Added accessibility-report
This commit is contained in:
@@ -89,7 +89,7 @@ activeFeatures.forEach(feature => {
|
||||
case Feature.ACCESSIBILITY_REPORT:
|
||||
routes.push({
|
||||
path: 'tillganglighet',
|
||||
data: { title: 'Tillgänglighetsredogörelsen' },
|
||||
data: { title: 'Tillgänglighetsredogörelse' },
|
||||
loadChildren: () => import('./pages/accessibility/accessibility.module').then(m => m.AccessibilityModule),
|
||||
canActivate: [AuthGuard],
|
||||
});
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<msfa-layout>
|
||||
<digi-typography>
|
||||
<section class="accessibility"></section>
|
||||
<section class="accessibility">
|
||||
<markdown src="assets/files/accessibility-report.md"></markdown>
|
||||
</section>
|
||||
</digi-typography>
|
||||
</msfa-layout>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { DigiNgCardModule } from '@af/digi-ng/_card/card';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
|
||||
import { RouterModule } from '@angular/router';
|
||||
import { LayoutModule } from '@msfa-shared/components/layout/layout.module';
|
||||
import { MarkdownModule } from 'ngx-markdown';
|
||||
import { AccessibilityComponent } from './accessibility.component';
|
||||
|
||||
@NgModule({
|
||||
@@ -12,7 +12,7 @@ import { AccessibilityComponent } from './accessibility.component';
|
||||
CommonModule,
|
||||
RouterModule.forChild([{ path: '', component: AccessibilityComponent }]),
|
||||
LayoutModule,
|
||||
DigiNgCardModule,
|
||||
MarkdownModule.forChild(),
|
||||
],
|
||||
})
|
||||
export class AccessibilityModule {}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<nav class="footer__nav">
|
||||
<ul class="footer__nav-list">
|
||||
<li *ngIf="accessibilityReportVisible">
|
||||
<a class="msfa__link msfa__link--light" routerLink="/tillganglighet">Tillgänglighetsredogörelsen</a>
|
||||
<a class="msfa__link msfa__link--light" routerLink="/tillganglighet">Tillgänglighetsredogörelse</a>
|
||||
</li>
|
||||
<li *ngIf="releasesVisible">
|
||||
<a class="msfa__link msfa__link--light" routerLink="/releases">Senaste releaser</a>
|
||||
|
||||
@@ -8,5 +8,5 @@ export const NAVIGATION = {
|
||||
'mitt-konto': 'Mitt konto',
|
||||
'skapa-personalkonto': 'Skapa personalkonto',
|
||||
obehorig: 'Saknar behörigheter',
|
||||
tillganglighet: 'Tillgänglighetsredogörelsen',
|
||||
tillganglighet: 'Tillgänglighetsredogörelse',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user