Skip to content

Commit

Permalink
overview
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Jones committed Mar 6, 2024
1 parent 5a67047 commit fb64ed3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
20 changes: 20 additions & 0 deletions app/views/includes/_side-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@
name: "Give feedback on the process",
url: "/service-assessments/survey"
}
]%}

{% set overview = [
{
name: "Overview",
url: "/service-assessments/index"
}
]
%}

Expand All @@ -112,8 +119,11 @@

<nav class="dfe-vertical-nav">



{%- if selectedNav === "Service Standard" %}


<ul class="dfe-vertical-nav__section">
{% for item in standards %}
<li
Expand All @@ -127,6 +137,16 @@

{%- if selectedNav === "Service assessments" %}

<ul class="dfe-vertical-nav__section">
{% for item in overview %}
<li
class="dfe-vertical-nav__section-item {% if pageName === item.name %}dfe-vertical-nav__section-item--current{% endif %}">
<a class="dfe-vertical-nav__link" href="{{ item.url }}">{{item.name}}</a>
</li>
{% endfor %}
</ul>


<h2 class="dfe-vertical-nav--section-header">For teams</h2>

<ul class="dfe-vertical-nav__section">
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion app/views/service-assessments/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "layouts/content-with-sidenav.html" %}

{% set selectedNav = "Service assessments" %}
{% set pageName = "Service assessments" %}
{% set pageName = "Overview" %}
{% set seoPageDescription = "What a service assessment or peer review is and how to book one in the Department for
Education."%}
{% set pageDescription = "What a service assessment or peer review is and how to book one in the DfE."%}
Expand Down

0 comments on commit fb64ed3

Please sign in to comment.