Skip to content

Commit

Permalink
reinstall link to documentation route
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Sep 24, 2024
1 parent 11b9ac4 commit 9d5eaa0
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 14 deletions.
8 changes: 4 additions & 4 deletions lacommunaute/forum/tests/__snapshots__/tests_views.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<li class="breadcrumb-item">Retourner vers</li>
<li class="breadcrumb-item">

<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_breadcrumb" href="#">Documentation</a>
<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_breadcrumb" href="/documentation/">Documentation</a>

</li>

Expand All @@ -22,7 +22,7 @@
<li class="breadcrumb-item">Retourner vers</li>
<li class="breadcrumb-item">

<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_breadcrumb" href="#">Documentation</a>
<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_breadcrumb" href="/documentation/">Documentation</a>

</li>

Expand Down Expand Up @@ -60,7 +60,7 @@
<li class="breadcrumb-item">Retourner vers</li>
<li class="breadcrumb-item">

<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_breadcrumb" href="#">Documentation</a>
<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_breadcrumb" href="/documentation/">Documentation</a>

</li>

Expand Down Expand Up @@ -176,7 +176,7 @@
<li class="breadcrumb-item">Retourner vers</li>
<li class="breadcrumb-item">

<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_breadcrumb" href="#">Documentation</a>
<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_breadcrumb" href="/documentation/">Documentation</a>

</li>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
<li class="breadcrumb-item">Retourner vers</li>
<li class="breadcrumb-item">

<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_breadcrumb" href="#">Documentation</a>
<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_breadcrumb" href="/documentation/">Documentation</a>

</li>

Expand Down
6 changes: 3 additions & 3 deletions lacommunaute/pages/tests/__snapshots__/test_homepage.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<a href="/topics/">Espace d'échanges</a>
</li>
<li>
<a href="#">Documentation</a>
<a href="/documentation/">Documentation</a>
</li>
<li>
<a href="/calendar/events/">Évènements</a>
Expand Down Expand Up @@ -196,7 +196,7 @@
<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="topics" href="/topics/">Espace d'échanges</a>
</li>
<li>
<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_header" href="">Documentation</a>
<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_header" href="/documentation/">Documentation</a>
</li>
<li>
<a class="matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="events" href="/calendar/events/">Évènements</a>
Expand Down Expand Up @@ -242,7 +242,7 @@
<a class="nav-link matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="topics" href="/topics/">Espace d'échanges</a>
</li>
<li class="nav-item">
<a class="nav-link matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_header" href="">Documentation</a>
<a class="nav-link matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="documentation_header" href="/documentation/">Documentation</a>
</li>
<li>
<a class="nav-link matomo-event" data-matomo-action="view" data-matomo-category="engagement" data-matomo-option="events" href="/calendar/events/">Évènements</a>
Expand Down
2 changes: 1 addition & 1 deletion lacommunaute/templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1 class="h1">Bienvenue sur le site de la Communauté de l'Inclusion.</h1>
<a href="{% url 'forum_conversation_extension:topics' %}">Espace d'échanges</a>
</li>
<li>
<a href="#">Documentation</a>
<a href="{% url 'documentation:category_list' %}">Documentation</a>
</li>
<li>
<a href="{% url 'search:index' %}">Recherche</a>
Expand Down
2 changes: 1 addition & 1 deletion lacommunaute/templates/pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{% block body_class %}p-home{{ block.super }}{% endblock %}
{% block content %}
{% url 'forum_conversation_extension:topics' as publicforum_url %}
{% url None as documentation_url %}
{% url 'documentation:category_list' as documentation_url %}
{% url 'event:current' as event_url %}
{% url 'surveys:dsp_create' as dsp_url %}
<section class="s-home-title-01 s-home-title-01--communaute mb-md-6 mb-lg-10" style="--home-title-bg: url({% static 'images/commu-home-illu-02b-light.png' %})">
Expand Down
6 changes: 5 additions & 1 deletion lacommunaute/templates/partials/ask_a_question.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
</div>
<div class="col-12 col-lg-auto py-1 py-lg-0 px-lg-0 text-center">ou</div>
<div class="col-12 col-lg-auto">
<a href="#" class="btn btn-outline-primary btn-ico btn-block matomo-event" data-matomo-category="engagement" data-matomo-action="view" data-matomo-option="documentation">
<a href="{% url 'documentation:category_list' %}"
class="btn btn-outline-primary btn-ico btn-block matomo-event"
data-matomo-category="engagement"
data-matomo-action="view"
data-matomo-option="documentation">
<span>Consulter la documentation</span>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lacommunaute/templates/partials/breadcrumb.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<li class="breadcrumb-item">{% trans "Back to" %}</li>
<li class="breadcrumb-item">
{% if forum.is_in_documentation_area %}
<a href="#" class="matomo-event" data-matomo-category="engagement" data-matomo-action="view" data-matomo-option="documentation_breadcrumb">{% trans "Documents" %}</a>
<a href="{% url 'documentation:category_list' %}" class="matomo-event" data-matomo-category="engagement" data-matomo-action="view" data-matomo-option="documentation_breadcrumb">{% trans "Documents" %}</a>
{% else %}
<a href="{% url 'forum_conversation_extension:topics' %}" class="matomo-event" data-matomo-category="engagement" data-matomo-action="view" data-matomo-option="topics_breadcrumb">{% trans "Discussion area" %}</a>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion lacommunaute/templates/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<a href="{% url 'forum_conversation_extension:topics' %}">{% trans "Discussion area" %}</a>
</li>
<li>
<a href="#">{% trans "Documents" %}</a>
<a href="{% url 'documentation:category_list' %}">{% trans "Documents" %}</a>
</li>
<li>
<a href="{% url 'event:current' %}">{% trans "Events" %}</a>
Expand Down
2 changes: 1 addition & 1 deletion lacommunaute/templates/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% load forum_member_tags %}
{% url 'pages:home' as home_url %}
{% url 'forum_conversation_extension:topics' as publicforum_url %}
{% url 'forum_extension:documentation' as documentation_url %}
{% url 'documentation:category_list' as documentation_url %}
{% url 'members:seekers' as seeker_url %}
{% url 'search:index' as search_url %}
{% url 'surveys:dsp_create' as dsp_url %}
Expand Down

0 comments on commit 9d5eaa0

Please sign in to comment.