<%inherit file="/webapps/community/base_panels.mako"/> <%namespace file="/message.mako" import="render_msg" /> <%def name="stylesheets()"> ${parent.stylesheets()} ## TODO: Clean up these styles and move into panel_layout.css (they are ## used here and in the editor). <%def name="init()"> <% self.has_left_panel=True self.has_right_panel=False self.active_view="tools" %> %if trans.app.config.require_login and not trans.user: %endif <%def name="left_panel()">
Community
Tools
%if trans.user: Upload a tool %else: Login to upload %endif
<%def name="center_panel()"> <% if trans.app.config.require_login and not trans.user: center_url = h.url_for( controller='user', action='login', message=message, status=status, webapp='community' ) else: center_url = h.url_for( controller='tool', action='browse_categories', message=message, status=status, webapp='community' ) %>