mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	hide the button group if no action allowed
This commit is contained in:
		| @@ -23,6 +23,8 @@ | ||||
|     <span class='fas fa-shopping-cart'/> | ||||
| </button> | ||||
| {% endif %} | ||||
| {% define perms.company.change_company or perms.company.delete_company as has_permission %} | ||||
| {% if not company.is_deleted and has_permission %} | ||||
| <button id='company-edit-actions' title='{% trans "Company actions" %}' class='btn btn-outline-secondary dropdown-toggle' type='button' data-bs-toggle='dropdown'> | ||||
|     <span class='fas fa-tools'></span> <span class='caret'></span> | ||||
| </button> | ||||
| @@ -38,6 +40,7 @@ | ||||
|     </a></li> | ||||
|     {% endif %} | ||||
| </ul> | ||||
| {% endif %} | ||||
| {% endblock actions %} | ||||
|  | ||||
| {% block thumbnail %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user