mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 07:05:41 +00:00 
			
		
		
		
	Optionally hide 'revision' field (#4493)
* Adds setting to enable / disable revision field * Optionally hide revision field from part forms * Hide revision informatoin on part page * Bug fix for part variant table - Use existing full_name variable rather than re-creating on the client side * Optionally hide 'revision' field in part tables
This commit is contained in:
		@@ -273,7 +273,8 @@
 | 
			
		||||
                <td>{{ part.IPN }}{% include "clip.html"%}</td>
 | 
			
		||||
            </tr>
 | 
			
		||||
            {% endif %}
 | 
			
		||||
            {% if part.revision %}
 | 
			
		||||
            {% settings_value "PART_ENABLE_REVISION" as show_revision %}
 | 
			
		||||
            {% if show_revision and part.revision %}
 | 
			
		||||
            <tr>
 | 
			
		||||
                <td><span class='fas fa-code-branch'></span></td>
 | 
			
		||||
                <td>{% trans "Revision" %}</td>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user