Skip to content

Commit

Permalink
remove contacts from list view + margin
Browse files Browse the repository at this point in the history
  • Loading branch information
pyDez committed Jan 27, 2025
1 parent be0da93 commit 4715f99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion envergo/moulinette/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def get_demarche_simplifiee_pre_fill_config_help_text(self):
@admin.register(ConfigHaie)
class ConfigHaieAdmin(admin.ModelAdmin):
form = ConfigHaieAdminForm
list_display = ["department", "is_activated", "contacts_and_links"]
list_display = ["department", "is_activated"]
list_filter = ["is_activated"]

def get_queryset(self, request):
Expand Down
4 changes: 2 additions & 2 deletions envergo/templates/haie/pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h3 class="fr-tile__title">
{% if department %}
{% if config and config.contacts_and_links %}
<div id="contacts_and_links" class="fr-mt-4w fr-p-2w">{{ config.contacts_and_links|safe }}</div>
<div class="fr-mt-4w fr-p-2w">
<div class="fr-py-2w">
<p>
Vous représentez la DDT(M) du département et souhaitez compléter ou modifier les informations affichées ici ?
<a href="https://tally.so/r/w4Agpb" target="_blank" rel="noopener">Cliquez ici</a>.
Expand All @@ -129,7 +129,7 @@ <h3 class="fr-tile__title">
</div>
</div>
</div>
<div class="fr-mt-4w fr-p-2w">
<div class="fr-py-2w">
<p>
Vous représentez la DDT(M) du département et souhaitez faire apparaître ici des informations de contact, des liens vers le site de votre préfecture,
des ressources à présenter aux usagers ?
Expand Down

0 comments on commit 4715f99

Please sign in to comment.