Show
Ignore:
Timestamp:
02/14/08 14:53:16 (2 years ago)
Author:
JensDiemer
Message:

-filter the sub_menu for normal users
-limit access to a "must_admin" method for users how are is_staff or is_superuser
-set request.debug with _or_

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid/PyLucid/plugins_internal/admin_menu/internal_pages/sub_menu.html

    r1384 r1409  
    1414</ul> 
    1515</fieldset> 
     16 
     17{% if is_admin %} 
    1618 
    1719<fieldset><legend>{% trans 'edit look' %}</legend> 
     
    6365</fieldset> 
    6466 
    65  
    66 {% comment %} 
    67 <fieldset><legend>{% trans 'backup' %}</legend> 
    68  
    69 * "{% trans 'DB dump' %}":{{ commandURLprefix }}/MySQLdump/menu 
    70  
    71 </fieldset> 
    72  
    73 <fieldset><legend>{% trans 'internals' %}</legend> 
    74  
    75 * <lucidTag:show_internals/> 
    76  
    77 </fieldset> 
    78 {% endcomment %} 
     67{% endif %}