Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/assets/images/bell-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 13 additions & 19 deletions app/views/research-192/sms-p/messages/inbox-banner.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,42 +80,36 @@
{% else %}

<!-- Opt-In Banner -->
<div class="nhsapp-card" style="background-color: #330072; color: white;">

<div class="nhsapp-card nhsuk-u-margin-top-6" style="background-color: #330072; color: white;">
<div class="nhsapp-card__container nhsuk-u-padding-bottom-4" style="align-items: start !important;">

<!-- Bell icon -->
<div style="width: auto;">
<img src="/images/bell-icon.svg" alt="bell icon" style="width: 32px; display: block; margin-left: 16px; margin-right: 16px; margin-top: 2px;" />
<img src="/images/bell-icon.svg" alt="bell icon" class="nhsuk-u-margin-left-3 nhsuk-u-margin-right-3 nhsuk-u-margin-top-3" style="width: 24px; display: block;" />
</div>

<!-- Top section text -->
<div class="nhsapp-card__content">
<div class="nhsapp-card__above">
<h2 class="nhsuk-heading-s">Turn on app notifications</h2>
<p>To get alerted for new messages</p>
<h2 class="nhsuk-heading-s" style="margin-bottom: 0px;">Turn on app notifications</h2>
<p style="margin-bottom: 0px;">To get prescription updates</p>
</div>
</div>

<!-- Close icon -->
<div style="width: auto;">
<a href="your-messages">
<img src="/images/close-icon.svg" alt="close icon" style="width: 16px; display: block; margin-left: 16px; margin-right: 16px; margin-top: 4px;" />
<a href="#"> <!-- change href to dismiss on prototype -->
<img src="/images/close-icon.svg" alt="close icon" class="nhsuk-u-margin-left-3 nhsuk-u-margin-right-3 nhsuk-u-margin-top-1"style="width: 16px; display: block;" />
</a>
</div>

</div>

<div class="nhsapp-card__container" style="padding-top: 0px;">

<!-- Space to align items -->
<div style="width: 64px;"></div>

<div style="width: 40px;"></div>
<!-- Bottom section of banner -->
<div class="nhsapp-card__content">

<div class="nhsapp-card__below">
<hr class="nhsuk-section-break nhsuk-section-break--m nhsuk-section-break--visible app-section-break--width-2">
<a href="notification-settings" class="nhsuk-link nhsuk-link--reverse" style="color: white;">Go to notification settings</a>
<hr class="nhsuk-section-break nhsuk-section-break--m nhsuk-section-break--visible app-section-break--width-2 nhsuk-u-margin-bottom-3" style="margin-top: 0px; border-color: rgb(255, 255, 255, 0.7);">
<a href="#" class="nhsuk-link nhsuk-link--reverse" style="color: white;">Go to notification settings</a>
</div>

</div>

</div>
Expand Down
4 changes: 2 additions & 2 deletions public/images/bell-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading