* adds LANIS link getter to Intervention, Compensation and EcoAccount for creating a usable link to LANIS * adds/updates translations
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% load i18n l10n fontawesome_5 %}
 | 
						|
 | 
						|
<div class="d-flex justify-content-end">
 | 
						|
    <a href="{{LANIS_LINK}}" class="mr-2" target="_blank">
 | 
						|
        <button class="btn btn-default" title="{% trans 'Open in LANIS' %}">
 | 
						|
            LANIS
 | 
						|
        </button>
 | 
						|
    </a>
 | 
						|
    <a href="{% url 'home' %}" class="mr-2">
 | 
						|
        <button class="btn btn-default" title="{% trans 'Public report' %}">
 | 
						|
            {% fa5_icon 'file-alt' %}
 | 
						|
        </button>
 | 
						|
    </a>
 | 
						|
    {% if has_access %}
 | 
						|
    <button class="btn btn-default btn-modal mr-2" title="{% trans 'Share' %}" data-form-url="{% url 'intervention:share-create' intervention.id %}">
 | 
						|
        {% fa5_icon 'share-alt' %}
 | 
						|
    </button>
 | 
						|
    {% if is_zb_member %}
 | 
						|
    <button class="btn btn-default btn-modal mr-2" title="{% trans 'Run check' %}" data-form-url="{% url 'intervention:run-check' intervention.id %}">
 | 
						|
        {% fa5_icon 'star' %}
 | 
						|
    </button>
 | 
						|
    {% endif %}
 | 
						|
    {% if is_ets_member %}
 | 
						|
    <a href="{% url 'home' %}" class="mr-2">
 | 
						|
        <button class="btn btn-default" title="{% trans 'Record' %}">
 | 
						|
            {% fa5_icon 'bookmark' %}
 | 
						|
        </button>
 | 
						|
    </a>
 | 
						|
    {% endif %}
 | 
						|
        {% if is_default_member %}
 | 
						|
        <a href="{% url 'home' %}" class="mr-2">
 | 
						|
            <button class="btn btn-default" title="{% trans 'Edit' %}">
 | 
						|
                {% fa5_icon 'edit' %}
 | 
						|
            </button>
 | 
						|
        </a>
 | 
						|
        <button class="btn btn-default btn-modal mr-2" data-form-url="{% url 'intervention:log' intervention.id %}" title="{% trans 'Show log' %}">
 | 
						|
            {% fa5_icon 'history' %}
 | 
						|
        </button>
 | 
						|
        <button class="btn btn-default btn-modal" data-form-url="{% url 'intervention:remove' intervention.id %}" title="{% trans 'Delete' %}">
 | 
						|
            {% fa5_icon 'trash' %}
 | 
						|
        </button>
 | 
						|
        {% endif %}
 | 
						|
    {% endif %}
 | 
						|
</div> |