* adds functionality for withdraws from eco accounts in detail view of interventions and eco account as well * adds get_surface() method to AbstractCompensation class to provide a simple getter for a sql calculation * adds get_surface_withdraws() method to EcoAccount class to provide a simple getter for a sql calculation * renames some routes to match coherent rout naming * adds logic check on NewWithdrawForm * renames templates/table directory to templates/form, since there are form-table templates inside --> more clarity * adds new autocomplete routes to konova/urls.py for Interventions and EcoAccounts * adds/updates translations * adds/updates template comments * updates requirements.txt
		
			
				
	
	
		
			28 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% load i18n fontawesome_5 %}
 | 
						|
<footer class="footer">
 | 
						|
    <div class="container">
 | 
						|
        <div class="d-flex justify-content-center">
 | 
						|
            <span class="col-sm-auto footer-link">
 | 
						|
                <a href="{{ help_link }}" target="_blank">{% trans 'Help' %}</a>
 | 
						|
            </span>
 | 
						|
            <span class="col-sm-auto footer-link">
 | 
						|
                <a href="{% url 'home' %}">{% trans 'Impressum' %}</a>
 | 
						|
            </span>
 | 
						|
            <span class="col-sm-auto footer-link">
 | 
						|
                <a href="{% url 'home' %}">{% trans 'Contact' %}</a>
 | 
						|
            </span>
 | 
						|
        </div>
 | 
						|
    </div>
 | 
						|
 | 
						|
    {% comment %}
 | 
						|
        "Why is there a form.media call???"
 | 
						|
        We use modal forms, right?
 | 
						|
        And we use dal (django-autocomplete-light), right?
 | 
						|
        In order to get these nice autocomplete (js triggered) form fields to work, we need to load form.media
 | 
						|
        somewhere. BUT when these fields are called inside a modal form (which we use quiet often), the form.media
 | 
						|
        can not be called properly due to some deprecated functions of jquery regarding synchronous calling.
 | 
						|
        So, we simply call the form.media in here, in case there is any form.media to be loaded.
 | 
						|
    {% endcomment %}
 | 
						|
    {{ form.media }}
 | 
						|
 | 
						|
</footer> |