summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Palacios <javiplx@gmail.com>2008-11-11 21:10:37 +0100
committerJavier Palacios <javiplx@gmail.com>2008-11-11 21:10:37 +0100
commitf219201df002b767532b2da493cbcea40286e3e0 (patch)
tree729b2fa6182460ccca0443140e01bce654da5448
parent36ca9d05e7b75cf2c1550067ada951625d6b5c27 (diff)
parent706e49c61ad60d9dd0f87c42e3318ab958f51c48 (diff)
downloadcobbler-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.tmpl11
-rw-r--r--webui_templates/image_edit.tmpl15
-rw-r--r--webui_templates/profile_edit.tmpl15
-rw-r--r--webui_templates/repo_edit.tmpl15
-rw-r--r--webui_templates/system_edit.tmpl16
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>