-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tags): ajouter une étiquette inexistante à un sujet (#744)
## Description 🎸 Les formulaires de création et mise à jour de `Topic` doit permettre d'ajouter un `tag` qui n'existe pas encore ISSUE #726 partie 1 ## Type de changement 🎢 Nouvelle fonctionnalité (changement non cassant qui ajoute une fonctionnalité). 🎨 changement d'UI ### Points d'attention 🦺 PR préparatoire à l'ajout de `tag` sur les `Forum` 🦺 UI fix : déplacer la case `verrouiller le sujet` en dehors du panneau "Etiquette" 🦺 UI fix : mise à jour du format de la case à cocher `checkboxinput` dans le template `partials/form_field` 🎨 mise à jour class `tag` sur les tags en remplacement des badges ### Captures d'écran (optionnel) Nouveau sujet ![image](https://github.com/user-attachments/assets/eeae80d0-5bb6-4f05-a70d-e217d79d79cb) Mise à jour d'un sujet existant (case "Verrouiller le sujet") ![image](https://github.com/user-attachments/assets/de4f5564-0807-4f70-bd98-cab269cdd4e1) Vue d'un tag sur un message au format `tag` ![image](https://github.com/user-attachments/assets/2b9384eb-0162-45ab-8a49-dba1a247d616)
- Loading branch information
1 parent
ca56d83
commit b82ea73
Showing
6 changed files
with
51 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lacommunaute/templates/forum_conversation/partials/topic_tags.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{% load url_add_query %} | ||
{% for tag in tags %} | ||
<a href="{% url_add_query request.get_full_path tags=tag.slug page=1 %}"><span class="badge badge-xs rounded-pill bg-info-lighter text-info">{{ tag }}</span></a> | ||
<a href="{% url_add_query request.get_full_path tags=tag.slug page=1 %}"><span class="tag bg-info-lighter text-info">{{ tag }}</span></a> | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters