Browse Source

Allow incorporating links/styling into

pull/2241/head
Kat 2 years ago
parent
commit
bcc98eadb7
  1. 2
      app/views/notifications/_notification_banner.html.erb

2
app/views/notifications/_notification_banner.html.erb

@ -6,7 +6,7 @@
<% if notification_count > 1 && current_user.present? %> <% if notification_count > 1 && current_user.present? %>
<p>Notification 1 of <%= notification_count %></p> <p>Notification 1 of <%= notification_count %></p>
<% end %> <% end %>
<p class="govuk-!-font-weight-bold"><%= notification.title %></p> <p class="govuk-!-font-weight-bold"><%= notification.title.html_safe %></p>
<% if notification.page_content.present? %> <% if notification.page_content.present? %>
<div class="govuk-body"> <div class="govuk-body">
<%= govuk_link_to notification.link_text, notifications_path, class: "govuk-link--inverse govuk-!-font-weight-bold" %> <%= govuk_link_to notification.link_text, notifications_path, class: "govuk-link--inverse govuk-!-font-weight-bold" %>

Loading…
Cancel
Save