-
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: harmonisation des liens de connexion (#844)
## Description 🎸 Reliquat de liens pointant directement sur `openid_connect:authorize` et non `users:login` 🎸 Harmonisation des boutons d'actions ## Type de changement 🎢 Nouvelle fonctionnalité (changement non cassant qui ajoute une fonctionnalité). 🎨 changement d'UI ### Points d'attention 🦺 suppression de gabarits dépréciés, dont un faisant reférence au template tag ### Captures d'écran `SeekersListView` anonyme ![image](https://github.com/user-attachments/assets/eb3b2e02-b656-4065-8a54-2423bb42e86b) `SeekersListView` connecté ![image](https://github.com/user-attachments/assets/40d52f33-4f14-4e5f-a0ee-eeec5b8a3fa9) `DSPCreateView` anonyme ![image](https://github.com/user-attachments/assets/13ca5e23-218b-4101-82d7-93fca9d27a51) `EventMonthArchiveView` anonyme ![image](https://github.com/user-attachments/assets/3f9c06d1-3fb9-47eb-ad3b-b16ba05c64a3) `EventMonthArchiveView` connecté ![image](https://github.com/user-attachments/assets/a7a907be-80c7-4219-a642-9e8077521ad7) `TopicListView` anonyme ![image](https://github.com/user-attachments/assets/07f1ed33-db8b-4854-880f-4337f84da5a8)
- Loading branch information
1 parent
fa5d0d4
commit fb50472
Showing
23 changed files
with
304 additions
and
178 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# serializer version: 1 | ||
# name: TestEventMonthArchiveView.test_action_box[False-anonymous][anonymous] | ||
''' | ||
<section class="s-section" id="action-box"> | ||
<div class="s-section__container container"> | ||
|
||
<div class="s-section__row row"> | ||
<div class="s-section__col col-12"> | ||
<div class="c-box mb-5"> | ||
<div class="row"> | ||
<div class="col-lg col-12 mb-3"> | ||
Je suis l'organisateur d'un évènement à destination des CIP pour les aider à améliorer leur pratique professionnelle ? | ||
<br/> | ||
Je me connecte pour ajouter un évènement public dans le calendrier de la communauté | ||
</div> | ||
<div class="col-lg-auto col-12"> | ||
|
||
|
||
<a class="btn btn-outline-primary btn-ico btn-block" href="/users/login/?next=%2Fcalendar%2Fcreate%2F">Se connecter | S'inscrire</a> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</section> | ||
''' | ||
# --- | ||
# name: TestEventMonthArchiveView.test_action_box[True-authenticated][authenticated] | ||
''' | ||
<section class="s-section" id="action-box"> | ||
<div class="s-section__container container"> | ||
|
||
<div class="s-section__row row"> | ||
<div class="s-section__col col-12"> | ||
<div class="c-box mb-5"> | ||
<div class="row"> | ||
<div class="col-lg col-12 mb-3"> | ||
Je suis l'organisateur d'un évènement à destination des CIP pour les aider à améliorer leur pratique professionnelle ? | ||
<br/> | ||
J'ajoute un évènement public dans le calendrier de la communauté | ||
</div> | ||
<div class="col-lg-auto col-12"> | ||
<a class="btn btn-primary" href="/calendar/create/">Ajouter un évènement public</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</section> | ||
''' | ||
# --- |
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
74 changes: 74 additions & 0 deletions
74
lacommunaute/forum_member/tests/__snapshots__/tests_view.ambr
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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# serializer version: 1 | ||
# name: TestSeekersListView.test_update_profil_link[False-anonymous_user][anonymous_user] | ||
''' | ||
<section class="s-section" id="action-box"> | ||
<div class="s-section__container container"> | ||
|
||
<div class="s-section__row row"> | ||
<div class="s-section__col col-12"> | ||
<div class="c-box mb-5"> | ||
<div class="row"> | ||
<div class="col-lg col-12 mb-3">Je me connecte pour mettre à jour mon profil</div> | ||
<div class="col-lg-auto col-12"> | ||
|
||
|
||
<a class="btn btn-outline-primary btn-ico btn-block" href="/users/login/?next=%2Fmembers%2Fprofile%2Fedit%2F">Se connecter | S'inscrire</a> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="s-section__row row"> | ||
<div class="s-section__col col-12"> | ||
<div class="row row-cols-1 row-cols-md-2 g-4"> | ||
|
||
<div class="col"> | ||
<p>No body yet…</p> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
''' | ||
# --- | ||
# name: TestSeekersListView.test_update_profil_link[True-authenticated_user][authenticated_user] | ||
''' | ||
<section class="s-section" id="action-box"> | ||
<div class="s-section__container container"> | ||
|
||
<div class="s-section__row row"> | ||
<div class="s-section__col col-12"> | ||
<div class="c-box mb-5"> | ||
<div class="row"> | ||
<div class="col-lg col-12 mb-3"> | ||
<p>Je suis CIP en recherche d'un stage ou d'une alternance ? Je complète mon profil pour me faire connaitre.</p> | ||
</div> | ||
<div class="col-lg-auto col-12"> | ||
<a class="btn btn-primary" href="/members/profile/edit/">Mettre à jour mon profil</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="s-section__row row"> | ||
<div class="s-section__col col-12"> | ||
<div class="row row-cols-1 row-cols-md-2 g-4"> | ||
|
||
<div class="col"> | ||
<p>No body yet…</p> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
''' | ||
# --- |
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
Oops, something went wrong.