* adds modal_generic.html template for generic usage * adds M2M field log to BaseObject * adds show log button to controls.html * adds logging on adding related objects * adds render log table using generic modal * adds tooltip to missing values in detail views * adds/updates translations
		
			
				
	
	
		
			33 lines
		
	
	
		
			842 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			842 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% load i18n %}
 | 
						|
<div class="table-container scroll-300">
 | 
						|
    <table class="table table-hover">
 | 
						|
        <thead>
 | 
						|
            <tr>
 | 
						|
                <th scope="col">
 | 
						|
                    {% trans 'Timestamp' %}
 | 
						|
                </th>
 | 
						|
                <th scope="col">
 | 
						|
                    {% trans 'Action' %}
 | 
						|
                </th>
 | 
						|
                <th scope="col">
 | 
						|
                    {% trans 'User' %}
 | 
						|
                </th>
 | 
						|
            </tr>
 | 
						|
        </thead>
 | 
						|
        <tbody>
 | 
						|
        {% for entry in log %}
 | 
						|
            <tr>
 | 
						|
                <td>
 | 
						|
                    {{entry.timestamp}}
 | 
						|
                </td>
 | 
						|
                <td>
 | 
						|
                    {{ entry.action_humanize}}
 | 
						|
                </td>
 | 
						|
                <td>
 | 
						|
                    {{entry.user}}
 | 
						|
                </td>
 | 
						|
            </tr>
 | 
						|
        {% endfor %}
 | 
						|
        </tbody>
 | 
						|
    </table>
 | 
						|
</div> |