summaryrefslogtreecommitdiffstats
path: root/webui_templates/profile_edit.tmpl
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-04-01 14:21:16 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-04-01 14:21:16 -0400
commit339e79b493b8bcf41dbf59a1931d171e04c0284d (patch)
tree01b61a458824fd5313d8391a754c4d6b9621696b /webui_templates/profile_edit.tmpl
parent2c30d3b241e50370f4d4e0cb67ec10d35b35ff99 (diff)
downloadthird_party-cobbler-339e79b493b8bcf41dbf59a1931d171e04c0284d.tar.gz
third_party-cobbler-339e79b493b8bcf41dbf59a1931d171e04c0284d.tar.xz
third_party-cobbler-339e79b493b8bcf41dbf59a1931d171e04c0284d.zip
Remove save/edit buttons for WebUI objects we know the user can't edit,
to prevent them from trying and getting the auth error as it is processed.
Diffstat (limited to 'webui_templates/profile_edit.tmpl')
-rw-r--r--webui_templates/profile_edit.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/webui_templates/profile_edit.tmpl b/webui_templates/profile_edit.tmpl
index 4077c57..a0b6fdc 100644
--- a/webui_templates/profile_edit.tmpl
+++ b/webui_templates/profile_edit.tmpl
@@ -347,6 +347,7 @@ To recieve access, contact your Cobbler server administrator.
</tr>
#end if
+ #if $editable == True
<tr>
<td>
</td>
@@ -355,6 +356,7 @@ To recieve access, contact your Cobbler server administrator.
<input type="reset" name="reset" value="Reset"/>
</td>
</tr>
+ #end if
</fieldset>
#end block body