summaryrefslogtreecommitdiffstats
path: root/webui_templates/repo_edit.tmpl
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-03-28 17:23:12 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-03-28 17:23:12 -0400
commitaf4f5696e9fa1a800a45289931ed147b7fb6f5ed (patch)
tree0a7daff06bb922489f811d11a86247f8837ff949 /webui_templates/repo_edit.tmpl
parent08ca3dda388b39b02f58121803ca95e8c8d09ac3 (diff)
downloadthird_party-cobbler-af4f5696e9fa1a800a45289931ed147b7fb6f5ed.tar.gz
third_party-cobbler-af4f5696e9fa1a800a45289931ed147b7fb6f5ed.tar.xz
third_party-cobbler-af4f5696e9fa1a800a45289931ed147b7fb6f5ed.zip
Add owners list to WebUI pages, also customize function for saving
lists to avoid extra whitespace on comma delimited inputs.
Diffstat (limited to 'webui_templates/repo_edit.tmpl')
-rw-r--r--webui_templates/repo_edit.tmpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/webui_templates/repo_edit.tmpl b/webui_templates/repo_edit.tmpl
index 445218f..8d22879 100644
--- a/webui_templates/repo_edit.tmpl
+++ b/webui_templates/repo_edit.tmpl
@@ -164,6 +164,23 @@ function disablename(value)
</td>
</tr>
+ <tr>
+ <td>
+ <label for="owners">Access Allowed For</label>
+ </td>
+ <td>
+ #if $repo
+ #set ownerslist = ','.join($repo.owners)
+ #end if
+ <input type="text" size="255" style="width: 400px;" name="owners" id="owners"
+ #if $repo
+ value="$ownerslist"
+ #end if
+ />
+ <p class="context-tip">Applies only if using authz_ownership module, comma-delimited</p>
+ </td>
+ </tr>
+
#if $repo
<tr>