diff options
author | Javier Palacios <javiplx@gmail.com> | 2008-11-11 21:10:37 +0100 |
---|---|---|
committer | Javier Palacios <javiplx@gmail.com> | 2008-11-11 21:10:37 +0100 |
commit | f219201df002b767532b2da493cbcea40286e3e0 (patch) | |
tree | 729b2fa6182460ccca0443140e01bce654da5448 | |
parent | 36ca9d05e7b75cf2c1550067ada951625d6b5c27 (diff) | |
parent | 706e49c61ad60d9dd0f87c42e3318ab958f51c48 (diff) | |
download | cobbler-f219201df002b767532b2da493cbcea40286e3e0.tar.gz cobbler-f219201df002b767532b2da493cbcea40286e3e0.tar.xz cobbler-f219201df002b767532b2da493cbcea40286e3e0.zip |
Merge branch 'devel' of git://git.fedorahosted.org/cobbler into debian
-rw-r--r-- | webui_templates/distro_edit.tmpl | 11 | ||||
-rw-r--r-- | webui_templates/image_edit.tmpl | 15 | ||||
-rw-r--r-- | webui_templates/profile_edit.tmpl | 15 | ||||
-rw-r--r-- | webui_templates/repo_edit.tmpl | 15 | ||||
-rw-r--r-- | webui_templates/system_edit.tmpl | 16 |
5 files changed, 67 insertions, 5 deletions
diff --git a/webui_templates/distro_edit.tmpl b/webui_templates/distro_edit.tmpl index a2789d04..8681d8a6 100644 --- a/webui_templates/distro_edit.tmpl +++ b/webui_templates/distro_edit.tmpl @@ -97,11 +97,12 @@ function disablename(value) <label for="comment">Comment</label> </td> <td> - <textarea rows="5" cols="30" 400px;" name="comment" id="comment"> -#if $distro -$distro.comment -#end if - </textarea> + #if $distro + #set $comm = $distro.comment + #else + #set $comm = "" + #end if + <textarea rows="5" cols="30" 400px;" name="comment" id="comment">$comm</textarea> <p class="context-tip">This is a free-form description field</p> </td> </tr> diff --git a/webui_templates/image_edit.tmpl b/webui_templates/image_edit.tmpl index 067b1483..b34fb568 100644 --- a/webui_templates/image_edit.tmpl +++ b/webui_templates/image_edit.tmpl @@ -92,6 +92,21 @@ function disablename(value) </tr> #end if + <tr> + <td> + <label for="comment">Comment</label> + </td> + <td> + #if $image + #set $comm = $image.comment + #else + #set $comm = "" + #end if + <textarea rows="5" cols="30" 400px;" name="comment" id="comment">$comm</textarea> + <p class="context-tip">This is a free-form description field</p> + </td> + </tr> + <tr> diff --git a/webui_templates/profile_edit.tmpl b/webui_templates/profile_edit.tmpl index ac11df78..10f34085 100644 --- a/webui_templates/profile_edit.tmpl +++ b/webui_templates/profile_edit.tmpl @@ -106,6 +106,21 @@ function disablename(value) </tr> #end if + <tr> + <td> + <label for="comment">Comment</label> + </td> + <td> + #if $profile + #set $comm = $profile.comment + #else + #set $comm = "" + #end if + <textarea rows="5" cols="30" 400px;" name="comment" id="comment">$comm</textarea> + <p class="context-tip">This is a free-form description field</p> + </td> + </tr> + #if $subprofile <tr> diff --git a/webui_templates/repo_edit.tmpl b/webui_templates/repo_edit.tmpl index 7452c9e6..3ed74a93 100644 --- a/webui_templates/repo_edit.tmpl +++ b/webui_templates/repo_edit.tmpl @@ -88,6 +88,21 @@ function disablename(value) </tr> #end if + <tr> + <td> + <label for="comment">Comment</label> + </td> + <td> + #if $repo + #set $comm = $repo.comment + #else + #set $comm = "" + #end if + <textarea rows="5" cols="30" 400px;" name="comment" id="comment">$comm</textarea> + <p class="context-tip">This is a free-form description field</p> + </td> + </tr> + <tr> <td> diff --git a/webui_templates/system_edit.tmpl b/webui_templates/system_edit.tmpl index 8eec433d..4a9aa3d7 100644 --- a/webui_templates/system_edit.tmpl +++ b/webui_templates/system_edit.tmpl @@ -358,6 +358,22 @@ function page_onload() { <tr> <td> + <label for="comment">Comment</label> + </td> + <td> + #if $system + #set $comm = $system.comment + #else + #set $comm = "" + #end if + <textarea rows="5" cols="30" 400px;" name="comment" id="comment">$comm</textarea> + <p class="context-tip">This is a free-form description field</p> + </td> + </tr> + + + <tr> + <td> <label for="profile">Profile</label> </td> <td> |