mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +00:00
Remove references to editing of users
- We can add that when we have the functionality implemented. - Our current effort is not have stubs and references unavailable features.
This commit is contained in:
parent
100533bee1
commit
f4f594c41a
@ -24,9 +24,6 @@
|
||||
|
||||
<h3>Delete Users</h3>
|
||||
|
||||
<p>Currently you can not edit but only delete users from
|
||||
{{ cfg.product_name }} and the {{ cfg.box_name }} system. </p>
|
||||
|
||||
<p>Deleting users is permanent!</p>
|
||||
|
||||
<form class="form" method="post">
|
||||
|
||||
@ -34,9 +34,9 @@ LOGGER = logging.getLogger(__name__)
|
||||
|
||||
subsubmenu = {'title': _('Users and Groups'),
|
||||
'items': [{'url': reverse_lazy('users:add'),
|
||||
'text': _('Add User')},
|
||||
'text': _('Add User')},
|
||||
{'url': reverse_lazy('users:edit'),
|
||||
'text': _('Edit Users')}]}
|
||||
'text': _('Delete Users')}]}
|
||||
|
||||
|
||||
def init():
|
||||
@ -124,7 +124,7 @@ def edit(request):
|
||||
form = UserEditForm(prefix='user')
|
||||
|
||||
return TemplateResponse(request, 'users_edit.html',
|
||||
{'title': _('Edit or Delete User'),
|
||||
{'title': _('Delete Users'),
|
||||
'form': form,
|
||||
'subsubmenu': subsubmenu})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user