-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial horizontal nav on campaign pages.
- Loading branch information
1 parent
14fa2ed
commit 238701d
Showing
9 changed files
with
123 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
network-api/networkapi/wagtailpages/templates/wagtailpages/h1-heading.html
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
network-api/networkapi/wagtailpages/templates/wagtailpages/mini_site_header.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% if uses_menu %} | ||
<p class="h5-heading hidden-sm-down">{{ mini_site_title }}</p> | ||
{% endif %} | ||
<h1 class="h1-heading {% if uses_menu %}hidden-sm-down{% endif %}"> | ||
{% if page.header %} | ||
{{ page.header }} | ||
{% else %} | ||
{{ page.title }} | ||
{% endif %} | ||
</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...ork-api/networkapi/wagtailpages/templates/wagtailpages/tags/mini_site_horizontal_nav.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% load wagtailcore_tags %} | ||
|
||
{% if menu_pages %} | ||
<div class="mb-3 hidden-sm-down"> | ||
<div class="multipage-nav" id="multipage-nav"> | ||
{% for entry in menu_pages %} | ||
<a class="multipage-link colourless-link mr-3 {% if current.title == entry.page.title %}multipage-link-active{% endif %}" href="{% pageurl entry.page %}">{% if entry.depth == 2 %}→ {% endif %}{{ entry.menu_title }} | ||
</a> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters