From c38c0dea5c102f2d1b476cd8060a196cde47ed2e Mon Sep 17 00:00:00 2001 From: Buchan Milne Date: Wed, 16 Feb 2011 13:33:29 +0000 Subject: Add error pages for user self-editing buttons, and correctly collect ldap errors Respect Controller::User::editable_attrs in user editing page Add preferredLanguage to editable_attrs --- root/user/add.tt | 4 ++++ root/user/delete.tt | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 root/user/add.tt create mode 100644 root/user/delete.tt (limited to 'root/user') diff --git a/root/user/add.tt b/root/user/add.tt new file mode 100644 index 0000000..eaf84aa --- /dev/null +++ b/root/user/add.tt @@ -0,0 +1,4 @@ +An error occured adding the attribute [% attrname %] +[% IF attrvalue %]with value [% attrvalue %][% END %]. + +Please go back and try again diff --git a/root/user/delete.tt b/root/user/delete.tt new file mode 100644 index 0000000..a0adffd --- /dev/null +++ b/root/user/delete.tt @@ -0,0 +1,4 @@ +An error occured deleting the attribute [% attrname %] +[% IF attrvalue %]with value [% attrvalue %][% END %]. + +Please go back and try again -- cgit v1.2.1