Skip to content

Commit

Permalink
Fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Dec 6, 2023
1 parent 32fb271 commit 66ca07a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ Ressources :
- Séparé la page "Collaborateurs" du formulaire de modification de sa structure
- Données
- API Entreprise : renommé "Unités non employeuses" par "Non renseigné"
- Synchonisation avec le C1 : rajouté le champ `brand` à la liste des champs synchronisés
- Synchronisation avec le C1 : rajouté le champ `brand` à la liste des champs synchronisés
- Tech
- Meilleure gestion des tâches asynchrones

Expand Down
2 changes: 1 addition & 1 deletion lemarche/siaes/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def tender_detail_display_count_annotated_with_link(self, siae):
)
return format_html(f'<a href="{url}">{getattr(siae, "tender_detail_display_count_annotated", 0)}</a>')

tender_detail_display_count_annotated_with_link.short_description = "Besoins vues"
tender_detail_display_count_annotated_with_link.short_description = "Besoins vus"
tender_detail_display_count_annotated_with_link.admin_order_field = "tender_detail_display_count_annotated"

def tender_detail_contact_click_count_annotated_with_link(self, siae):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Migration(migrations.Migration):
model_name="siae",
name="tender_detail_display_count",
field=models.IntegerField(
default=0, help_text="Champ recalculé à intervalles réguliers", verbose_name="Nombre de besoins vues"
default=0, help_text="Champ recalculé à intervalles réguliers", verbose_name="Nombre de besoins vus"
),
),
migrations.AddField(
Expand Down
2 changes: 1 addition & 1 deletion lemarche/siaes/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ class Siae(models.Model):
"Nombre de besoins cliqués", help_text=RECALCULATED_FIELD_HELP_TEXT, default=0
)
tender_detail_display_count = models.IntegerField(
"Nombre de besoins vues", help_text=RECALCULATED_FIELD_HELP_TEXT, default=0
"Nombre de besoins vus", help_text=RECALCULATED_FIELD_HELP_TEXT, default=0
)
tender_detail_contact_click_count = models.IntegerField(
"Nombre de besoins intéressés", help_text=RECALCULATED_FIELD_HELP_TEXT, default=0
Expand Down

0 comments on commit 66ca07a

Please sign in to comment.