2
0
Эх сурвалжийг харах

Fixes #6196: Fix object list display for users with read-only permissions

jeremystretch 4 жил өмнө
parent
commit
97c087ef5f

+ 1 - 0
docs/release-notes/version-2.11.md

@@ -5,6 +5,7 @@
 ### Bug Fixes
 ### Bug Fixes
 
 
 * [#6184](https://github.com/netbox-community/netbox/issues/6184) - Fix parent object table column in prefix IP addresses list
 * [#6184](https://github.com/netbox-community/netbox/issues/6184) - Fix parent object table column in prefix IP addresses list
+* [#6196](https://github.com/netbox-community/netbox/issues/6196) - Fix object list display for users with read-only permissions
 
 
 ---
 ---
 
 

+ 3 - 1
netbox/templates/generic/object_list.html

@@ -76,7 +76,9 @@
                     </div>
                     </div>
                 </form>
                 </form>
             {% else %}
             {% else %}
-                {% render_table table 'inc/table.html' %}
+                <div class="table-responsive">
+                    {% render_table table 'inc/table.html' %}
+                </div>
             {% endif %}
             {% endif %}
         {% endwith %}
         {% endwith %}
         {% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}
         {% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}