mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-05 12:34:08 +01:00
see #97
* Added domain aliases delete, * Permissions are not implemented yet. see #103 * New generic create and remove buttons, * New javascript confirmation module, * Fixed a lot of problems about objects relations removal, * Simpler interface (no more dropdown menus), * Multiple removal support.
This commit is contained in:
@@ -5,5 +5,4 @@ urlpatterns = patterns('modoboa.userprefs.views',
|
||||
(r'^preferences/$', 'preferences'),
|
||||
(r'^preferences/save/$', 'savepreferences'),
|
||||
(r'^changepassword/$', 'changepassword'),
|
||||
(r'^confirm/$', 'confirm'),
|
||||
)
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
import copy
|
||||
from django.shortcuts import get_object_or_404, render_to_response
|
||||
from django.template.loader import render_to_string
|
||||
from django.template import RequestContext
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.http import HttpResponse, HttpResponseRedirect
|
||||
from django.contrib.auth.forms import PasswordChangeForm
|
||||
from django.contrib.auth.decorators \
|
||||
import login_required
|
||||
from django.utils import simplejson
|
||||
@@ -77,9 +73,3 @@ def savepreferences(request):
|
||||
ctx = getctx("ok")
|
||||
return HttpResponse(simplejson.dumps(ctx), mimetype="application/json")
|
||||
|
||||
@login_required
|
||||
def confirm(request):
|
||||
return _render(request, 'userprefs/confirm.html', {
|
||||
"msg" : request.GET["question"]
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user