Commit f287f6ac authored by BERJON Matthieu's avatar BERJON Matthieu
Browse files

Bug fix: template breadcrumb



The URL in the breadcrumb was calling the app `name` instead of the
`docker_name` creating errors when an app was using several words in it
and therefore not corresponding to the `docker_name` anymore. This is
now fixed.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent 8f3074da
Pipeline #45093 failed with stage
in 1 minute and 3 seconds
......@@ -5,7 +5,7 @@
{% block breadcrumb %}
<li class="breadcrumb-item"><a href="{% url 'main:webapp_list' %}">Applications</a></li>
<li class="breadcrumb-item"><a href="{% url 'main:webapp_detail' webapp.name %}">{{ webapp.name | fancy_webapp_name | title}}</a></li>
<li class="breadcrumb-item"><a href="{% url 'main:webapp_detail' webapp.docker_name %}">{{ webapp.name | fancy_webapp_name | title}}</a></li>
<li class="breadcrumb-item active" aria-current="page">Sandbox</li>
{% endblock %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment