summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-03-31 17:09:26 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-03-31 17:09:26 -0400
commitc3437479cc300683ac3ffd270114eed3dcaf4f39 (patch)
treeaf93eb22f4f04f05de3650d6d597f064e34f82c5 /webui_templates
parenteee7bfa18052bb1e3d0c84421f2b425073043888 (diff)
downloadthird_party-cobbler-c3437479cc300683ac3ffd270114eed3dcaf4f39.tar.gz
third_party-cobbler-c3437479cc300683ac3ffd270114eed3dcaf4f39.tar.xz
third_party-cobbler-c3437479cc300683ac3ffd270114eed3dcaf4f39.zip
Distro now instrumented with a warning panel that indicates when you probably
won't be able to edit an object.
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/distro_edit.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/webui_templates/distro_edit.tmpl b/webui_templates/distro_edit.tmpl
index 8b7d2cb..ccbb72f 100644
--- a/webui_templates/distro_edit.tmpl
+++ b/webui_templates/distro_edit.tmpl
@@ -15,6 +15,15 @@ function disablename(value)
</script>
#end if
+#if $editable != True
+<blockquote>
+$editable
+
+WARNING: It looks like you do not have permission to make changes.
+To recieve access, contact your Cobbler server administrator.
+</blockquote>
+#end if
+
<form method="POST" action="$base_url">
<fieldset id="cform">