summaryrefslogtreecommitdiffstats
path: root/webui_templates/profile_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/profile_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/profile_edit.tmpl')
-rw-r--r--webui_templates/profile_edit.tmpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/webui_templates/profile_edit.tmpl b/webui_templates/profile_edit.tmpl
index f9eca09..95ad1fd 100644
--- a/webui_templates/profile_edit.tmpl
+++ b/webui_templates/profile_edit.tmpl
@@ -308,6 +308,24 @@ function disablename(value)
</td>
</tr>
+ <tr>
+ <td>
+ <label for="owners">Access Allowed For</label>
+ </td>
+ <td>
+ #if $profile
+ #set ownerslist = ','.join($profile.owners)
+ #end if
+ <input type="text" size="255" style="width: 400px;" name="owners" id="owners"
+ #if $profile
+ value="$ownerslist"
+ #end if
+
+ />
+ <p class="context-tip">Applies only if using authz_ownership module, comma-delimited</p>
+ </td>
+ </tr>
+
#if $profile
<tr>