wip: UI refactoring

* fixed an issue with the FETCH responses parser
* Aliases are now displayed into *identities*
* French translation update

see #204
This commit is contained in:
Antoine Nguyen
2012-05-03 11:31:02 +02:00
parent 114b40d3c0
commit bd126b507f
23 changed files with 1247 additions and 941 deletions
+9
View File
@@ -17,6 +17,12 @@ function get_account_list(container) {
});
}
function get_mboxes_list(container) {
$.getJSON("{% url modoboa.admin.views.mboxes_list %}", function(data) {
container.value = data;
});
}
$(document).ready(function() {
$("a[name=delaccount]").confirm({
question: gettext("Delete this account?"),
@@ -28,6 +34,9 @@ $(document).ready(function() {
$("a[name=delforward]").confirm({
question: gettext("Delete this forward?")
});
$("a[name=delalias]").confirm({
question: gettext("Delete this alias?")
});
$("#pagination_bar").find(".disabled").click(function(e) {
e.preventDefault();
});