Changeset 502

Show
Ignore:
Timestamp:
08/02/07 11:33:02 (1 year ago)
Author:
brian
Message:

workaround for ToscaWidgets? r3079 bug

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pagoda/trunk/Pagoda/pagoda/controllers/admin.py

    r501 r502  
    2626    def __init__(self): 
    2727        self.site_tree = widgets.admin.SiteTreePanel( 
    28             'site-tree', 
     28            # TODO: Change this to 'site-tree' and update the ToscaWidgets 
     29            # version dependency when ToscaWidgets fixes its webpath bug. 
     30            'site_tree', 
    2931            data_url='serialize_child_nodes', 
    3032            root_url='serialize_root_node', 
  • pagoda/trunk/Pagoda/pagoda/plugins/controllers.py

    r449 r502  
    1010 
    1111CONTENT_CONTROLLERS = {} 
     12 
     13def start_extension(): 
     14    """Map content types to controllers using entry points. 
     15     
     16    This is called on TurboGears startup. 
     17     
     18    """ 
     19    update_content_controllers() 
    1220 
    1321class ContentController(Controller): 
     
    8795        return [controller_for_content(child, revision) for child in children] 
    8896 
    89 def start_extension(): 
    90     """Map content types to controllers using entry points. 
    91      
    92     This is called on TurboGears startup. 
    93      
    94     """ 
    95     update_content_controllers() 
    96  
    9797def update_content_controllers(): 
    9898    # TODO: Figure out which plugins are enabled/disabled, make sure 
  • pagoda/trunk/Pagoda/pagoda/templates/admin/admin.html

    r476 r502  
    1010         <py:if test="title">${title} &mdash;</py:if> Pagoda 
    1111    </title> 
    12  
    13     <!-- Document metadata. --> 
    14     <meta py:replace="select('meta')"/> 
    15  
    16     <!-- Document styles. --> 
    17     <link py:replace="select('link')"/> 
    18  
    19     <!-- Document scripts. --> 
    20     <script py:replace="select('script')"></script> 
     12    ${select('*|text()')} 
    2113</head> 
    2214 
  • pagoda/trunk/Pagoda/pagoda/templates/admin/base.html

    r455 r502  
    55 
    66<head py:match="head" py:attrs="select('@*')"> 
    7     <link py:for="css in tg_css" py:replace="css.display()"/
     7    <py:for each="css in tg_css">${css.display()}</py:for
    88    <py:for each="js in tg_js_head">${js.display()}</py:for> 
    99    ${select('*|text()')} 
  • pagoda/trunk/Pagoda/pagoda/templates/admin/control_panel.html

    r431 r502  
    5454 
    5555</body> 
    56  
    5756</html> 
  • pagoda/trunk/Pagoda/setup.py

    r495 r502  
    3434        "SQLObject", # TODO: Remove this when TurboGears fixes 'tg-admin shell' 
    3535        "TurboGears >= 1.0.3", 
    36         "ToscaWidgets", 
     36        "ToscaWidgets == 0.1a2dev-r2937", 
    3737        "SQLAlchemy >= 0.3.8", 
    3838        "dateutil" 
  • pagoda/trunk/TestProject/TestProject.egg-info/SOURCES.txt

    r363 r502  
    11README.txt 
     2dev.cfg 
     3sample-prod.cfg 
    24setup.py 
    35start-testproject.py 
     6test.cfg 
    47TestProject.egg-info/PKG-INFO 
    58TestProject.egg-info/SOURCES.txt 
     
    1619testproject/release.py 
    1720testproject/config/__init__.py 
     21testproject/config/app.cfg 
     22testproject/config/log.cfg 
     23testproject/static/css/style.css 
     24testproject/static/images/Thumbs.db 
     25testproject/static/images/favicon.ico 
     26testproject/static/images/header_inner.png 
     27testproject/static/images/info.png 
     28testproject/static/images/ok.png 
     29testproject/static/images/tg_under_the_hood.png 
     30testproject/static/images/under_the_hood_blue.png 
    1831testproject/templates/__init__.py 
     32testproject/templates/master.html 
     33testproject/templates/site.html 
    1934testproject/tests/__init__.py 
    2035testproject/tests/test_controllers.py 

Log in as guest/pagoda to create tickets