Skip to content

Commit

Permalink
- added more user role filters in admin user page
Browse files Browse the repository at this point in the history
  • Loading branch information
rptmat57 committed Dec 6, 2022
1 parent 23f89ee commit 4eff5db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion NEMO/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -998,10 +998,12 @@ class UserAdmin(admin.ModelAdmin):
"is_active",
"domain",
"is_staff",
"is_user_office",
"is_accounting_officer",
"is_facility_manager",
"is_superuser",
"is_technician",
"is_service_personnel",
"is_superuser",
"date_joined",
"last_login",
)
Expand Down
2 changes: 1 addition & 1 deletion NEMO/templates/users/create_or_modify_user.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
{% endif %}
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="username"><strong>User name</strong></label>
<label class="control-label col-sm-2" for="username"><strong>Username</strong></label>
<div class="col-sm-4">
<input id="username" name="username" type="text" autocomplete="off" class="form-control" value="{{ form.username.value|default_if_none:"" }}" required>
</div>
Expand Down

0 comments on commit 4eff5db

Please sign in to comment.