use hyphen from tailwind-css instead of django-softhypen

This commit is contained in:
2025-02-22 18:27:14 +01:00
parent 1cfe36197f
commit e17d12a079
4 changed files with 4 additions and 7 deletions

View File

@@ -46,7 +46,6 @@ INSTALLED_APPS = [
"ckeditor_uploader",
"easy_thumbnails",
"rest_framework",
"softhyphen",
"django_crontab",
"django_filters",
"django_static_jquery_ui",

Binary file not shown.

View File

@@ -1,6 +1,6 @@
{% extends 'base.html' %}
{% load flatpages job_groups softhyphen_tags static %}
{% load flatpages job_groups static %}
{% block content %}
<!-- Main Content -->
@@ -55,9 +55,9 @@
{% if request.user.is_authenticated %}
{% if active_job_group %}
<li class="internalLI">
<li class="internalLI hyphens-auto" lang="de">
<a href="{% url 'admin:members_jobgroup_change' active_job_group.id %}">
<i class="fa-solid fa-pen-to-square mr-1"></i>{{ active_job_group.name|softhyphen|safe }} bearbeiten
<i class="fa-solid fa-pen-to-square mr-1"></i>{{ active_job_group.name|safe }} bearbeiten
</a>
</li>
{% endif %}

View File

@@ -1,7 +1,5 @@
{% extends 'members/index.html' %}
{% load softhyphen_tags %}
{% block title %}{{ member.firstname }} {{ member.surname }}{% endblock %}
{% block extraheader %}
@@ -24,7 +22,7 @@
</div>
{% if member.description %}
<div class="mb-2">
{{ member.description|softhyphen|safe }}
{{ member.description|safe }}
</div>
{% endif %}
</div>