Skip to content

Commit

Permalink
temp fix: allow datarequests anonymus access
Browse files Browse the repository at this point in the history
  • Loading branch information
thepsalmist committed Apr 11, 2024
1 parent 984c535 commit af01627
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ckanext/openafrica/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@
<li><a href="/organization">Organisations</a></li>
<li><a href="/group">Groups</a></li>
<li><a href="/about">About</a></li>
{% if h.is_plugin_enabled('datarequests') %}
<li><a href="/datarequest">{{_('Data Requests')}}</a></li>
<!-- {% if h.is_plugin_enabled('datarequests') %}
{% if g.user %}
<li><a href="/datarequest">{{_('Data Requests')}}</a></li>
{% else %}
<li><a href="/user/login?came_from=/datarequest">{{_('Data Requests')}}</a></li>
{% endif %}
{% endif %}
{% endif %} -->
</ul>
<ul class="nav pull-right">
{% if c.userobj %}
Expand Down

0 comments on commit af01627

Please sign in to comment.