refactor: remove deprecated templates
This commit is contained in:
		@@ -1,10 +0,0 @@
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
<div class="container-cards">
 | 
			
		||||
    {% if adoption_notices %}
 | 
			
		||||
        {% for adoption_notice in adoption_notices %}
 | 
			
		||||
            {% include "fellchensammlung/partials/partial-adoption-notice-minimal.html" %}
 | 
			
		||||
        {% endfor %}
 | 
			
		||||
    {% else %}
 | 
			
		||||
        <p>{% translate "Keine Vermittlungen gefunden." %}</p>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
</div>
 | 
			
		||||
@@ -1,10 +0,0 @@
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
<div class="container-cards spaced">
 | 
			
		||||
    {% if rescue_organizations %}
 | 
			
		||||
        {% for rescue_organization in rescue_organizations %}
 | 
			
		||||
            {% include "fellchensammlung/partials/partial-rescue-organization.html" %}
 | 
			
		||||
        {% endfor %}
 | 
			
		||||
    {% else %}
 | 
			
		||||
        <p>{% translate "Keine Tierschutzorganisationen gefunden." %}</p>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
</div>
 | 
			
		||||
@@ -1,5 +0,0 @@
 | 
			
		||||
<div class="container-cards">
 | 
			
		||||
{% for rule in rules %}
 | 
			
		||||
    {% include "fellchensammlung/partials/partial-rule.html" %}
 | 
			
		||||
{% endfor %}
 | 
			
		||||
</div>
 | 
			
		||||
@@ -1,35 +0,0 @@
 | 
			
		||||
{% load custom_tags %}
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
 | 
			
		||||
<div class="card">
 | 
			
		||||
    <div class="header-card-adoption-notice">
 | 
			
		||||
        <h2 class="heading-card-adoption-notice"><a
 | 
			
		||||
                href="{{ adoption_notice.get_absolute_url }}"> {{ adoption_notice.name }}</a></h2>
 | 
			
		||||
        <div class="tooltip bottom">
 | 
			
		||||
            <a class="adoption-card-report-link" href="{{ adoption_notice.get_report_url }}"><i
 | 
			
		||||
                    class="fa-solid fa-flag"></i></a>
 | 
			
		||||
            <span class="tooltiptext">
 | 
			
		||||
                        {% translate 'Melde diese Vermittlung an Moderator*innen' %}
 | 
			
		||||
                    </span>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
    <p>
 | 
			
		||||
        <b><i class="fa-solid fa-location-dot"></i></b>
 | 
			
		||||
        {% if adoption_notice.location %}
 | 
			
		||||
            {{ adoption_notice.location.str_hr }}
 | 
			
		||||
        {% else %}
 | 
			
		||||
            {{ adoption_notice.location_string }}
 | 
			
		||||
        {% endif %}
 | 
			
		||||
    </p>
 | 
			
		||||
    <p>
 | 
			
		||||
        {% if adoption_notice.description_short %}
 | 
			
		||||
            {{ adoption_notice.description_short | render_markdown }}
 | 
			
		||||
        {% endif %}
 | 
			
		||||
    </p>
 | 
			
		||||
    {% if adoption_notice.get_photo %}
 | 
			
		||||
        <div class="adoption-notice-img img-small">
 | 
			
		||||
            <img src="{{ MEDIA_URL }}/{{ adoption_notice.get_photo.image }}"
 | 
			
		||||
                 alt="{{ adoption_notice.get_photo.alt_text }}">
 | 
			
		||||
        </div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
</div>
 | 
			
		||||
@@ -1,28 +0,0 @@
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
{% load custom_tags %}
 | 
			
		||||
<div class="card">
 | 
			
		||||
    <div class="detail-animal-header">
 | 
			
		||||
        <h1><a href="{% url 'animal-detail' animal_id=animal.pk %}">{{ animal.name }}</a></h1>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        <div class="tags">
 | 
			
		||||
            <div class="tag species">{{ animal.species }}</div>
 | 
			
		||||
            <div class="tag sex">{{ animal.get_sex_display }}</div>
 | 
			
		||||
        </div>
 | 
			
		||||
        <!--- Assume a user does not have edit permissions on animal if they have no other edit permission   --->
 | 
			
		||||
        {% if has_edit_permission %}
 | 
			
		||||
            <div class="container-edit-buttons">
 | 
			
		||||
                <a class="btn" href="{% url 'animal-edit' animal_id=animal.pk %}">{% translate 'Bearbeiten' %}</a>
 | 
			
		||||
                <a class="btn"
 | 
			
		||||
                   href="{% url 'animal-add-photo' animal_id=animal.pk %}">{% translate 'Foto hinzufügen' %}</a>
 | 
			
		||||
            </div>
 | 
			
		||||
        {% endif %}
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    {% if animal.description %}
 | 
			
		||||
        <p>{{ animal.description | render_markdown }}</p>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    {% for photo in  animal.get_photos %}
 | 
			
		||||
        <img src="{{ MEDIA_URL }}/{{ photo.image }}" alt="{{ photo.alt_text }}">
 | 
			
		||||
    {% endfor %}
 | 
			
		||||
</div>
 | 
			
		||||
@@ -1,11 +0,0 @@
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
{% load custom_tags %}
 | 
			
		||||
<div class="announcement {{ announcement.type }}">
 | 
			
		||||
    <details class="announcement" open>
 | 
			
		||||
        <summary class="announcement-header">{{ announcement.title }}</summary>
 | 
			
		||||
        <p>
 | 
			
		||||
            {{ announcement.content | render_markdown }}
 | 
			
		||||
        </p>
 | 
			
		||||
    </details>
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
@@ -1,22 +0,0 @@
 | 
			
		||||
{% load custom_tags %}
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
 | 
			
		||||
<div class="card">
 | 
			
		||||
    <div>
 | 
			
		||||
        <h2 class="heading-card-adoption-notice"><a
 | 
			
		||||
                href="{{ rescue_organization.get_absolute_url }}"> {{ rescue_organization.name }}</a></h2>
 | 
			
		||||
        <p>
 | 
			
		||||
            <b><i class="fa-solid fa-location-dot"></i></b>
 | 
			
		||||
            {% if rescue_organization.location %}
 | 
			
		||||
                {{ rescue_organization.location.str_hr }}
 | 
			
		||||
            {% else %}
 | 
			
		||||
                {{ rescue_organization.location_string }}
 | 
			
		||||
            {% endif %}
 | 
			
		||||
        </p>
 | 
			
		||||
        <p>
 | 
			
		||||
            {% if rescue_organization.description_short %}
 | 
			
		||||
                {{ rescue_organization.description_short | render_markdown }}
 | 
			
		||||
            {% endif %}
 | 
			
		||||
        </p>
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
		Reference in New Issue
	
	Block a user