mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	Fixes #4593: Fix AttributeError exception when viewing object lists as a non-authenticated user
This commit is contained in:
		@@ -5,7 +5,7 @@
 | 
			
		||||
{% block content %}
 | 
			
		||||
<div class="pull-right noprint">
 | 
			
		||||
    {% block buttons %}{% endblock %}
 | 
			
		||||
    {% if table_config_form %}
 | 
			
		||||
    {% if request.user.is_authenticated and table_config_form %}
 | 
			
		||||
        <button type="button" class="btn btn-default" data-toggle="modal" data-target="#tableconfig" title="Configure table"><i class="fa fa-cog"></i> Configure</button>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    {% if permissions.add and 'add' in action_buttons %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user