Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[STATS] nommage des formulaires de recherche #432

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lacommunaute/templates/forum_search/search_form.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{% load i18n %}

<form method="get" action="." class="form">
<form method="get" action="." class="form" name="search_form">
<div class="form-row align-items-end">
<div class="col">
{% include "partials/form_field.html" with field=form.q %}
</div>
<div class="col-auto mb-3">
<button type="submit"
class="btn btn-primary btn-ico matomo-event"
data-matomo-category="engagement"
data-matomo-action="search"
data-matomo-option="submit_query"
class="btn btn-primary btn-ico matomo-event"
data-matomo-category="engagement"
data-matomo-action="search"
data-matomo-option="submit_query"
>
<i class="ri-search-line"></i>
<span>{% trans "Search" %}</span>
Expand Down
42 changes: 21 additions & 21 deletions lacommunaute/templates/partials/header_nav_primary_items.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
{% load theme_inclusion %}
<ul>
<li>
<form class="mb-3 mb-xl-0 me-xl-2" action="{% url 'forum_search_extension:search' %}">
<form class="mb-3 mb-xl-0 me-xl-2" action="{% url 'forum_search_extension:search' %}" name="header_search_form">
<div class="input-group input-group-rounded-pill">
<input class="form-control" type="search" placeholder="{% trans "Search" %}" aria-label="{% trans "Search" %}" name="q">
<div class="input-group-text p-0">
<button type="submit"
class="btn btn-link btn-ico matomo-event"
data-matomo-category="engagement"
data-matomo-action="search"
data-matomo-option="submit_query_header"
class="btn btn-link btn-ico matomo-event"
data-matomo-category="engagement"
data-matomo-action="search"
data-matomo-option="submit_query_header"
>
<i class="ri-search-line font-weight-bold" aria-label="{% trans "Search" %}"></i>
</button>
Expand Down Expand Up @@ -45,37 +45,37 @@
</li>
<li>
<a href="{% url 'members:profile' user.username %}"
class="dropdown-item text-primary matomo-event"
data-matomo-category="engagement"
data-matomo-action="view"
data-matomo-option="member">
class="dropdown-item text-primary matomo-event"
data-matomo-category="engagement"
data-matomo-action="view"
data-matomo-option="member">
Accéder à mon profil
</a>
</li>
<li>
<a href="{% url 'forum_upvote:mine' %}"
class="dropdown-item text-primary matomo-event"
data-matomo-category="engagement"
data-matomo-action="view"
data-matomo-option="upvotes">
class="dropdown-item text-primary matomo-event"
data-matomo-category="engagement"
data-matomo-action="view"
data-matomo-option="upvotes">
Accéder à mes sauvegardes
</a>
</li>
<li>
<a href="{% url 'event:myevents' %}"
class="dropdown-item text-primary matomo-event"
data-matomo-category="engagement"
data-matomo-action="view"
data-matomo-option="event">
class="dropdown-item text-primary matomo-event"
data-matomo-category="engagement"
data-matomo-action="view"
data-matomo-option="event">
Accéder à mes évènements
</a>
</li>
<li>
<a href="{% url 'forum_extension:index' %}"
class="dropdown-item text-primary matomo-event"
data-matomo-category="engagement"
data-matomo-action="view"
data-matomo-option="forums">
class="dropdown-item text-primary matomo-event"
data-matomo-category="engagement"
data-matomo-action="view"
data-matomo-option="forums">
Accéder à mes thématiques
</a>
</li>
Expand Down