Skip to content

Commit 4befa19

Browse files
authored
PaaS Migration Banner (#708)
* PaaS Migration Banner * Formating
1 parent 3f64131 commit 4befa19

File tree

2 files changed

+33
-6
lines changed

2 files changed

+33
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,30 @@
11
.dash-insert {
22
border-left: 10px solid #00703C;
33
background: #F3F2F1;
4+
5+
&__title {
6+
margin: 0;
7+
font-weight: 700;
8+
font-size: 19px;
9+
line-height: 24px;
10+
}
11+
12+
&__content {
13+
padding: 15px 25px 17px;
14+
}
15+
16+
&__heading {
17+
margin: 0;
18+
font-weight: 700;
19+
font-size: 24px;
20+
line-height: 30px;
21+
}
22+
23+
&__link {
24+
font-weight: 700;
25+
font-size: 24px;
26+
line-height: 30px;
27+
text-decoration-line: underline;
28+
color: #1D70B8;
29+
}
430
}

templates/barriers/partials/dashboard_heading.html

+7-6
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ <h1 class="govuk-heading-l">
33
</h1>
44
{% now 'c' as tz_now %}
55
{% comment %} c formats current time to ISO 8601 format e.g. 2008-01-02T10:30:00.000123+02:00 {% endcomment %}
6-
{% if tz_now < '2023-11-30T22:45:00.000000+00:00' %}
6+
{% if tz_now < '2024-06-18T10:00:00.000000+00:00' %}
77
<div class="govuk-inset-text dash-insert"
88
role="region"
9-
aria-labelledby="govuk-notification-banner-title"
10-
data-module="govuk-insert-text">
11-
<div class="dash-insert__content">
12-
Need help resolving your barriers? Read the <a href="https://data-services-help.trade.gov.uk/market-access/the-market-access-playbook/"
13-
target="_blank">market access playbook</a>
9+
aria-labelled-by="notification-banner"
10+
data-module="dash-insert__content">
11+
<div tabindex="0" >
12+
<div class="dash-insert__title">Planned maintenance work </div>
13+
<div class="dash-insert__content"> You will not be able to use DMAS on Tuesday 18 June, from 8am to 10am (UK time). During this time, you will see a maintenance message, telling you that it is unavailable.
14+
</div>
1415
</div>
1516
</div>
1617
{% endif %}

0 commit comments

Comments
 (0)