Module: check_mk
Branch: master
Commit: 442181fbda7ff8e1e266722b23e6c6879a23a3af
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=442181fbda7ff8…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jan 18 11:18:26 2012 +0100
Using Username as default value for full names when editing users
---
ChangeLog | 1 +
web/htdocs/wato.py | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1d1f3db..8c6dcd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -48,6 +48,7 @@
WATO:
* Removed IP-Address attribute from folders
* Supporting localized tag titles
+ * Using Username as default value for full names when editing users
* FIX: Fixed missing folders in "move to" dropdown fields
* FIX: Fixed "move to target folders" after CSV import
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 029a47d..27559f5 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -6611,7 +6611,7 @@ def mode_edit_user(phase):
html.write("<tr><td class=legend>")
html.write(_("Full name") + "<br><i>" + _("Full
name or alias of the user</i>"))
html.write("</td><td class=content>")
- html.text_input("alias", user.get("alias", ""), size =
50)
+ html.text_input("alias", user.get("alias", userid), size = 50)
if not new:
html.set_focus("alias")
html.write("</td></tr>")