Browse Source

CLDC-2862: lint

pull/2006/head
Sam Seed 3 years ago
parent
commit
7fa3fefef7
  1. 2
      app/views/layouts/application.html.erb
  2. 2
      app/views/maintenance/service_unavailable.html.erb

2
app/views/layouts/application.html.erb

@ -91,7 +91,7 @@
navigation_classes: "govuk-header__navigation--end", navigation_classes: "govuk-header__navigation--end",
) do |component| ) do |component|
component.product_name(name: t("service_name")) component.product_name(name: t("service_name"))
if !FeatureToggle.maintenance_mode_enabled? unless FeatureToggle.maintenance_mode_enabled?
if current_user.nil? if current_user.nil?
component.navigation_item(text: "Sign in", href: user_session_path) component.navigation_item(text: "Sign in", href: user_session_path)
else else

2
app/views/maintenance/service_unavailable.html.erb

@ -8,4 +8,4 @@
<p class="govuk-body">We saved your answers.</p> <p class="govuk-body">We saved your answers.</p>
<p class="govuk-body"><%= govuk_link_to "Contact the helpdesk", "https://dluhcdigital.atlassian.net/servicedesk/customer/portal/6/group/11" %> if you need assistance in the meantime.</p> <p class="govuk-body"><%= govuk_link_to "Contact the helpdesk", "https://dluhcdigital.atlassian.net/servicedesk/customer/portal/6/group/11" %> if you need assistance in the meantime.</p>
</div> </div>
</div> </div>

Loading…
Cancel
Save