Legg til infoboks om hvilke varsler vi viser #3354
Annotations
2 errors
Test:
src/app/personside/infotabs/varsel/VarselContainer.test.tsx#L16
Error: Snapshot `Viser varselcontainer med alt innhold 1` mismatched
- Expected
+ Received
@@ -176,10 +176,14 @@
.c1 >* {
padding: 0.7rem;
}
+ .c2 {
+ margin-bottom: 1rem;
+ }
+
.c2 >* {
margin-top: 0.5rem;
}
.c0 {
@@ -974,6 +978,40 @@
</ol>
</article>
</div>
</li>
</ol>
+ <div
+ className="navds-alert navds-alert--info navds-alert--medium"
+ >
+ <svg
+ aria-labelledby="title-r0"
+ className="navds-alert__icon"
+ fill="none"
+ focusable={false}
+ height="1em"
+ role="img"
+ viewBox="0 0 24 24"
+ width="1em"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <title
+ id="title-r0"
+ >
+ Informasjon
+ </title>
+ <path
+ clipRule="evenodd"
+ d="M3.25 4A.75.75 0 0 1 4 3.25h16a.75.75 0 0 1 .75.75v16a.75.75 0 0 1-.75.75H4a.75.75 0 0 1-.75-.75zM11 7.75a1 1 0 1 1 2 0 1 1 0 0 1-2 0m-1.25 3a.75.75 0 0 1 .75-.75H12a.75.75 0 0 1 .75.75v4.75h.75a.75.75 0 0 1 0 1.5h-3a.75.75 0 0 1 0-1.5h.75v-4h-.75a.75.75 0 0 1-.75-.75"
+ fill="currentColor"
+ fillRule="evenodd"
+ />
+ </svg>
+ <div
+ className="navds-alert__wrapper navds-alert__wrapper--maxwidth navds-body-long navds-body-long--medium"
+ >
+ Varsler vises kun ett år tilbake i tid.
+ <br />
+ Dersom man trenger å se informasjon om eldre varsler kan man lage en sak i porten for manuell uthenting.
+ </div>
+ </div>
</div>
❯ src/app/personside/infotabs/varsel/VarselContainer.test.tsx:16:18
|
Test
Process completed with exit code 1.
|
Loading