Skip to content

Commit

Permalink
fix: change name of macro
Browse files Browse the repository at this point in the history
was clashing with variable
  • Loading branch information
alycejenni committed Jul 4, 2024
1 parent 244db06 commit 8cff4f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckanext/nhm/theme/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{# We do not want a search #}{% block header_site_search %}{% endblock %}

{% set status_indicator = h.get_status_indicator() %}
{% macro status_indicator() %}
{% macro status_icon() %}
<div>
<a href="{{ h.url_for('status.index') }}"
title="{{ _('System status') }}">
Expand Down Expand Up @@ -90,7 +90,7 @@
{% endif %}

{# Status page #}
{{ status_indicator() }}
{{ status_icon() }}

{# Logout #}
{% block header_account_log_out_link %}
Expand All @@ -107,7 +107,7 @@
<div class="headway-container"></div>

{# Status page #}
{{ status_indicator() }}
{{ status_icon() }}

{% block header_account_notlogged %}
<div>
Expand Down

0 comments on commit 8cff4f3

Please sign in to comment.