diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-01-09 16:12:10 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-01-09 16:12:10 -0500 |
commit | 7a38e128564200c31a4249f9f63828b027e6b593 (patch) | |
tree | 1b758827becd3140c9ce076046bfc15b489566b2 /webui_templates | |
parent | 2d710af47fa757350f999b73ca669152c6896979 (diff) | |
download | third_party-cobbler-7a38e128564200c31a4249f9f63828b027e6b593.tar.gz third_party-cobbler-7a38e128564200c31a4249f9f63828b027e6b593.tar.xz third_party-cobbler-7a38e128564200c31a4249f9f63828b027e6b593.zip |
Added a parameter --yumopts which allows setting parameters for yum plugins in a manner
similar to how --kopts and --ksmeta works.
Diffstat (limited to 'webui_templates')
-rw-r--r-- | webui_templates/repo_edit.tmpl | 13 | ||||
-rw-r--r-- | webui_templates/repo_list.tmpl | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/webui_templates/repo_edit.tmpl b/webui_templates/repo_edit.tmpl index 17ca4ec..445218f 100644 --- a/webui_templates/repo_edit.tmpl +++ b/webui_templates/repo_edit.tmpl @@ -150,6 +150,19 @@ function disablename(value) </td> </tr> + <tr> + <td> + <label for="yumopts">yum options</label> + </td> + <td> + <input type="text" size="255" style="width: 150px;" name="yumopts" id="yumopts" + #if $repo + value="$repo.yumopts" + #end if + /> + <p class="context-tip">Sets specific yum plugin parameters on the installed system.</p> + </td> + </tr> #if $repo diff --git a/webui_templates/repo_list.tmpl b/webui_templates/repo_list.tmpl index f28369b..26dd1a1 100644 --- a/webui_templates/repo_list.tmpl +++ b/webui_templates/repo_list.tmpl @@ -29,7 +29,7 @@ <tr class="$tr_class"> <td> - <a href="$base_url/repo_edit?name=$repo.name">$repo.name</a> + <a href="$base_url/?mode=repo_edit&name=$repo.name">$repo.name</a> </td> <td>$repo.mirror</td> </tr> |