diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-09-24 12:10:33 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-09-24 12:10:33 -0400 |
commit | 37969519ae6f8ec828390333fe2bc8fbec9d4d0d (patch) | |
tree | dabaf2d89f9f0699833001167f918e30c27dd6f1 /webui_templates/repo_edit.tmpl | |
parent | 3c09c5f43b937601765638b2a93ba7058997b5fd (diff) | |
download | cobbler-37969519ae6f8ec828390333fe2bc8fbec9d4d0d.tar.gz cobbler-37969519ae6f8ec828390333fe2bc8fbec9d4d0d.tar.xz cobbler-37969519ae6f8ec828390333fe2bc8fbec9d4d0d.zip |
Apply AT Web UI patchset.
Diffstat (limited to 'webui_templates/repo_edit.tmpl')
-rw-r--r-- | webui_templates/repo_edit.tmpl | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/webui_templates/repo_edit.tmpl b/webui_templates/repo_edit.tmpl index b0907fd2..100997d8 100644 --- a/webui_templates/repo_edit.tmpl +++ b/webui_templates/repo_edit.tmpl @@ -76,18 +76,12 @@ function disablename(value) <tr> <td> - <label for="keepupdated">Keep Updated</label> + <label for="keep_updated">Keep Updated</label> </td> <td> - <input type="checkbox" name="keepupdated" id="keepupdated" - #if $repo - #if $repo.keep_updated - selected="True" - #else - selected="False" - #end if - #else - selected = "True" + <input type="checkbox" name="keep_updated" id="keep_updated" + #if not $repo or $repo.keep_updated is True + checked="true" #end if /> <p class="context-tip">Disable to prevent the mirror from being updated.</p> @@ -115,10 +109,10 @@ function disablename(value) <tr> <td> - <label for="rpmlist">RPM List</label> + <label for="rpm_list">RPM List</label> </td> <td> - <input type="text" size="512" style="width: 150px;" name="rpmlist" id="rpmlist" + <input type="text" size="512" style="width: 150px;" name="rpm_list" id="rpm_list" #if $repo value="$repo.rpm_list" #end if |