Skip to content

Commit

Permalink
fix: mise à jour des urls de statistiques (#772)
Browse files Browse the repository at this point in the history
## Description

🎸 pour plus de consistence

## Type de changement

🚧 technique

### Points d'attention

🦺 nouvelle route pour les stats hebdo : `/statistiques/weekly/YYYY/WW/`


### Captures d'écran (optionnel)


![image](https://github.com/user-attachments/assets/ac1918ac-8ec2-48fb-a41b-783768f6c655)
  • Loading branch information
vincentporte committed Sep 9, 2024
1 parent 2bb0d3a commit 6cd6ec3
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 15 deletions.
5 changes: 0 additions & 5 deletions lacommunaute/pages/tests/__snapshots__/test_homepage.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@
</div>
<div class="s-footer-gip__col s-footer-gip__col--links col-12 col-lg-auto">
<ul>
<li>
<a aria-label="France Travail (lien externe)" href="https://www.francetravail.fr/accueil/">
<img alt="France Travail" height="40" src="/static/vendor/theme-inclusion/images/logo-france-travail.svg"/>
</a>
</li>
<li>
<a aria-label="Incubateur de services publics numériques — beta.gouv.fr (lien externe)" href="https://beta.gouv.fr/" target="_blank">beta.gouv.fr</a>
</li>
Expand Down
2 changes: 0 additions & 2 deletions lacommunaute/stats/tests/__snapshots__/tests_views.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
<div class="s-title-01__row row">
<div class="s-title-01__col col-12">
<h1 class="s-title-01__title h1">
<strong>Partenariat Academie France Travail x La communauté de l'inclusion</strong>
<br/>
Statistiques de la semaine du 20 mai 2024 au 26 mai 2024
</h1>
</div>
Expand Down
2 changes: 1 addition & 1 deletion lacommunaute/stats/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
path("", StatistiquesPageView.as_view(), name="statistiques"),
path("monthly-visitors/", MonthlyVisitorsView.as_view(), name="monthly_visitors"),
path("dsp/", DailyDSPView.as_view(), name="dsp"),
path("aft/<int:year>/<int:week>/", ForumStatWeekArchiveView.as_view(), name="forum_stat_week_archive"),
path("weekly/<int:year>/<int:week>/", ForumStatWeekArchiveView.as_view(), name="forum_stat_week_archive"),
]
5 changes: 0 additions & 5 deletions lacommunaute/templates/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@
</div>
<div class="s-footer-gip__col s-footer-gip__col--links col-12 col-lg-auto">
<ul>
<li>
<a href="https://www.francetravail.fr/accueil/" aria-label="France Travail (lien externe)">
<img src="{% static_theme_images 'logo-france-travail.svg' %}" height="40" alt="France Travail">
</a>
</li>
<li>
<a href="https://beta.gouv.fr/" target="_blank" aria-label="Incubateur de services publics numériques — beta.gouv.fr (lien externe)">beta.gouv.fr</a>
</li>
Expand Down
2 changes: 0 additions & 2 deletions lacommunaute/templates/stats/forum_stat_week_archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
<div class="s-title-01__row row">
<div class="s-title-01__col col-12">
<h1 class="s-title-01__title h1">
<strong>Partenariat Academie France Travail x La communauté de l'inclusion</strong>
<br>
Statistiques de la semaine du {{ week|date:"j F Y" }} au {{ end_date|date:"j F Y" }}
</h1>
</div>
Expand Down

0 comments on commit 6cd6ec3

Please sign in to comment.