Răsfoiți Sursa

Fixes #13630: Fix display of active status under user view

Jeremy Stretch 2 ani în urmă
părinte
comite
316d991b33
2 a modificat fișierele cu 5 adăugiri și 1 ștergeri
  1. 4 0
      docs/release-notes/version-3.6.md
  2. 1 1
      netbox/templates/users/user.html

+ 4 - 0
docs/release-notes/version-3.6.md

@@ -2,6 +2,10 @@
 
 
 ## v3.6.1 (FUTURE)
 ## v3.6.1 (FUTURE)
 
 
+### Bug Fixes
+
+* [#13630](https://github.com/netbox-community/netbox/issues/13630) - Fix display of active status under user view
+
 ---
 ---
 
 
 ## v3.6.0 (2023-08-30)
 ## v3.6.0 (2023-08-30)

+ 1 - 1
netbox/templates/users/user.html

@@ -32,7 +32,7 @@
             </tr>
             </tr>
             <tr>
             <tr>
               <th scope="row">{% trans "Active" %}</th>
               <th scope="row">{% trans "Active" %}</th>
-              <td>{% checkmark object.active %}</td>
+              <td>{% checkmark object.is_active %}</td>
             </tr>
             </tr>
             <tr>
             <tr>
               <th scope="row">{% trans "Staff" %}</th>
               <th scope="row">{% trans "Staff" %}</th>