From 339e79b493b8bcf41dbf59a1931d171e04c0284d Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Tue, 1 Apr 2008 14:21:16 -0400 Subject: 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. --- webui_templates/profile_edit.tmpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'webui_templates/profile_edit.tmpl') 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. #end if + #if $editable == True @@ -355,6 +356,7 @@ To recieve access, contact your Cobbler server administrator. + #end if #end block body -- cgit