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:
Sunil Mohan Adapa 2014-12-06 17:05:34 +05:30
parent 100533bee1
commit f4f594c41a
2 changed files with 3 additions and 6 deletions

View File

@ -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">

View File

@ -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})