Move the breadcrumb inside the link

Putting the background image on the preceding breadcrumb item will allow
us to replace it with a pseudo element in a subsequent commit.
This commit is contained in:
Chris Hill-Scott
2019-06-21 14:12:19 +01:00
parent 27f1eeca0b
commit 96bd0a55b2
5 changed files with 21 additions and 25 deletions

View File

@@ -7,11 +7,10 @@
{% block fullwidth_content %}
<div id="content">
<div class="navigation-service">
{% if current_user.platform_admin %}
<a href="{{ url_for('.organisations') }}" class="navigation-organisation-link">All organisations</a>
{% endif %}
<div class="navigation-service-name">
{% if current_user.platform_admin %}
<a href="{{ url_for('.organisations') }}">Organisations</a>
<span class="navigation-breadcrumb"></span>
{% endif %}
{{ current_org.name }}
</div>
<a href="{{ url_for('main.choose_account') }}" class="navigation-service-switch">Switch service</a>