Skip to content

Commit

Permalink
Merge pull request #236 from qld-gov-au/QOLSVC-3914-login-caching
Browse files Browse the repository at this point in the history
[QOLSVC-3914] reuse parent header block for not-logged-in content
  • Loading branch information
ThrawnCA authored Dec 8, 2023
2 parents 9639550 + cc40ba6 commit 8bfdad6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ckanext/data_qld/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@
{% else %}
<nav class="account not-authed">
<ul class="unstyled">
{% block header_account_notlogged %}
<li>{% link_for _('Log in'), named_route='user.login' %}</li>
{% if h.check_access('user_create') %}
<li>{% link_for _('Register'), named_route='user.register', class_='sub' %}</li>
{% endif %} {% endblock %}
{% block header_account_notlogged %}{{ super() }}{% endblock %}
{% if h.is_datarequests_enabled() %}
<li><a href="{{ h.url_for('datarequest.index') }}">Request data</a></li>
{% endif %}
Expand Down

0 comments on commit 8bfdad6

Please sign in to comment.