Skip to content

Commit

Permalink
Merge pull request #367 from MTES-MCT/misc_tasks
Browse files Browse the repository at this point in the history
Différents tickets triviaux
  • Loading branch information
thibault authored Jul 24, 2024
2 parents 66c7cdd + d200d3f commit a97320a
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 3 deletions.
8 changes: 7 additions & 1 deletion envergo/moulinette/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ def queryset(self, request, queryset):

@admin.register(Regulation)
class RegulationAdmin(admin.ModelAdmin):
list_display = ["get_regulation_display", "regulation_slug", "has_perimeters"]
list_display = [
"get_regulation_display",
"regulation_slug",
"has_perimeters",
"weight",
]
list_editable = ["weight"]

def get_queryset(self, request):
qs = super().get_queryset(request)
Expand Down
3 changes: 2 additions & 1 deletion envergo/pages/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,6 @@
name="parcels_export",
),
path("admin/outlinks/", Outlinks.as_view(), name="outlinks"),
path(_("géomètres/"), GeometriciansView.as_view(), name="geometricians"),
path(_("géomètres/"), RedirectView.as_view(url="/geometres/")),
path(_("geometres/"), GeometriciansView.as_view(), name="geometricians"),
]
108 changes: 108 additions & 0 deletions envergo/static/geojson/dpts_FR_DROM_1km.geojson

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion envergo/templates/moulinette/_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<div id="additional-forms"
class="{{ additional_forms_bound|yesno:"bound,unbound" }}">
<h4>
<strong>Question(s) complémentaire(s)</strong>
<strong>Questions complémentaires</strong>
</h4>
<p>
Les caractéristiques du projet nécessitent de compléter les informations ci-dessous pour poursuivre votre demande.
Expand Down

0 comments on commit a97320a

Please sign in to comment.