mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-26 11:14:23 +01:00
Layout modifications (mostly menus).
Admin can now change his password correctly.
This commit is contained in:
@@ -42,7 +42,7 @@ def urls():
|
||||
def menu(**kwargs):
|
||||
import views
|
||||
|
||||
if kwargs["target"] == "user_menu_box":
|
||||
if kwargs["target"] == "top_menu":
|
||||
return [
|
||||
{"name" : "quarantine",
|
||||
"label" : _("Quarantine"),
|
||||
|
||||
@@ -48,7 +48,7 @@ def urls():
|
||||
def menu(**kwargs):
|
||||
import views
|
||||
|
||||
if kwargs["target"] != "user_menu_bar":
|
||||
if kwargs["target"] != "uprefs_menu":
|
||||
return []
|
||||
return [
|
||||
{"name" : "autoreply",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{% extends "nlayout.html" %}
|
||||
{% load i18n %}
|
||||
{% load admin_extras %}
|
||||
{% load stats_extra %}
|
||||
{% block html_head %}
|
||||
<style type="text/css">
|
||||
#graphcontent {
|
||||
|
||||
@@ -52,7 +52,7 @@ def urls():
|
||||
def menu(**kwargs):
|
||||
import views
|
||||
|
||||
if kwargs["target"] != "user_menu_box":
|
||||
if kwargs["target"] != "top_menu":
|
||||
return []
|
||||
return [
|
||||
{"name" : "webmail",
|
||||
|
||||
Reference in New Issue
Block a user