summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-12-15 12:45:20 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-12-15 12:45:20 -0500
commitd3ead187ff8e11a551af28fc8d0c9c43643881bf (patch)
tree4170f5c390a80ed96fe6dcfe0d7818f6ce2cd457 /webui_templates
parent1cbf9ad6995db7a67197a34b9cb9067b64a8af0a (diff)
downloadcobbler-d3ead187ff8e11a551af28fc8d0c9c43643881bf.tar.gz
cobbler-d3ead187ff8e11a551af28fc8d0c9c43643881bf.tar.xz
cobbler-d3ead187ff8e11a551af28fc8d0c9c43643881bf.zip
Apply HK's patch to make Ubuntu be a choice in the webapp for distro breed
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/distro_edit.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/webui_templates/distro_edit.tmpl b/webui_templates/distro_edit.tmpl
index 43e7325f..f8cbf7d2 100644
--- a/webui_templates/distro_edit.tmpl
+++ b/webui_templates/distro_edit.tmpl
@@ -244,6 +244,13 @@ function disablename(value)
#else
<input type="radio" name="breed" id="breed" value="suse">SuSE
#end if
+ #if $distro and $distro.breed == "ubuntu"
+ <input type="radio" name="breed" id="breed" value="ubuntu"
+checked>Ubuntu
+ #else
+ <input type="radio" name="breed" id="breed" value="ubuntu">Ubuntu
+ #end if
+
<p class="context-tip">This option determines how kernel options are prepared</p>
</td>
</tr>