[ckan-dev] Bug in Home/datasets

Judith Moran Judith.Moran at nt.gov.au
Fri May 10 06:40:10 UTC 2019


Hi,

When you are in Dataset http://dataportal/dataset and click on Dataset next the Home Breadcrumb
[cid:image001.png at 01D5074A.3521F590] I get a page not found.

I have found the code that calls the breadcrumb snippet but cannot work out where it is getting the incorrect link from (in page.html)


          {% block toolbar %}
            <div class="toolbar">
              {% block breadcrumb %}
                {% if self.breadcrumb_content() | trim %}
                  <ol class="breadcrumb">
                    {% snippet 'snippets/home_breadcrumb_item.html' %}
                    {% block breadcrumb_content %}{% endblock %}
                  </ol>
                {% endif %}
              {% endblock %}
            </div>
          {% endblock %}


The snippet which does the icon but where does the Dataset link come from ???


{# Used to insert the home icon into a breadcrumb #}
<li class="home"><a href="{{ h.url_for('home.index') }}"><i class="fa fa-home"></i><span> {{ _('Home') }}</span></a></li>


Can someone assist.



Regards,



Judy Moran
Manager Data Strategy
Department of Corporate and Information Services
Northern Territory Government of Australia
T:  892 96550
E:  DataStrategy.NTG at nt.gov.au<mailto:DataStrategy.NTG at nt.gov.au>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190510/f87e7a19/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1477 bytes
Desc: image001.png
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190510/f87e7a19/attachment.png>


More information about the ckan-dev mailing list