Skip to content

Commit

Permalink
Search: fix share button
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Aug 1, 2024
1 parent 6c817b7 commit 9f157d8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
1 change: 1 addition & 0 deletions lemarche/templates/layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<script type="text/javascript"
src="{% static 'vendor/leaflet-1.7.1/leaflet.js' %}"></script>
<script type="text/javascript" src="{% static 'vendor/htmx-1.9.12/htmx.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/utils.js'%}"></script>
{% if BITOUBI_ENV not in "dev" %}
{% include "includes/_tracker_tarteaucitron.html" %}
{% include "includes/_tracker_itou.html" %}
Expand Down
18 changes: 7 additions & 11 deletions lemarche/templates/siaes/_share_search_results.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{% with "btn btn-ico white-space-nowrap text-decoration-none btn-link text-important px-0" as class_button %}
<button
id="share-siae-list"
class="{{ class_button }} btn_mail_encrypt"
data-next-url="{{ url_share_list }}"
>
<span class="text-decoration-none ml-0">Partager la liste</span>
<i class="ri-mail-send-line ri-lg" title="par e-mail" aria-hidden="true"></i>
</button>
{% endwith %}

<button
id="share-siae-list"
class="fr-btn fr-btn--secondary fr-btn--icon-right fr-icon-send-plane-fill btn_mail_encrypt"
data-next-url="{{ url_share_list }}"
>
<span class="text-decoration-none ml-0">Partager la liste</span>
</button>
4 changes: 3 additions & 1 deletion lemarche/templates/siaes/search_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ <h4>
{% endwith %}
</h4>
{% if siaes %}
<div class="fr-col">{% include "siaes/_share_search_results.html" %}</div>
<div class="fr-col">
{% include "siaes/_share_search_results.html" %}
</div>
{% endif %}
{% if siaes %}
{% for siae in siaes %}
Expand Down

0 comments on commit 9f157d8

Please sign in to comment.