summaryrefslogtreecommitdiffstats
path: root/webui_templates/profile_edit.tmpl
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-04-02 18:29:06 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-04-02 18:29:06 -0400
commit3c08531c4e913268b94618b9939a44161d2dc556 (patch)
treed67d81dbe260c99c5ef4cb0e6f9eb6d47946e15f /webui_templates/profile_edit.tmpl
parent3e29f5d729da704f608b2cd2dc7cf16a42d934f4 (diff)
downloadthird_party-cobbler-3c08531c4e913268b94618b9939a44161d2dc556.tar.gz
third_party-cobbler-3c08531c4e913268b94618b9939a44161d2dc556.tar.xz
third_party-cobbler-3c08531c4e913268b94618b9939a44161d2dc556.zip
Added some code to allow assignment of default ownership from settings for new
objects. Also, ownership field for new objects in the WebUI is prepopulated with the username of the logged in user, to prevent accidental lockouts. All of this is untested at this point -- will be polished up soon.
Diffstat (limited to 'webui_templates/profile_edit.tmpl')
-rw-r--r--webui_templates/profile_edit.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/webui_templates/profile_edit.tmpl b/webui_templates/profile_edit.tmpl
index 82be534..2f7a732 100644
--- a/webui_templates/profile_edit.tmpl
+++ b/webui_templates/profile_edit.tmpl
@@ -324,6 +324,8 @@ function disablename(value)
<input type="text" size="255" style="width: 400px;" name="owners" id="owners"
#if $profile
value="$ownerslist"
+ #else
+ value="$user"
#end if
/>