Ignore:
Timestamp:
01/04/09 17:08:10 (11 years ago)
Author:
cbyrom
Message:

Add new home page for the browse service + implement usage of the
before methods on controllers to check if MILK is set up to
allow the various services before the controller methods are invoked.
Also add a top level default controller to redirect user to the correct
home page depending on the mode of operation + improve styles,
remove unused controller and move error template to more general top
level - for re-use across the MILK stack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/templates/layout.html

    r5145 r5158  
    3535              <div py:replace="searchOneLine()"/> 
    3636          </div> 
    37       <div py:if="not g.discoveryEnabled"> 
     37      <div py:if="g.browseEnabled or g.atomEditorEnabled"> 
    3838            <div py:replace="localTextSearch()"/> 
    3939          </div> 
     
    4141                <table py:if="g.atomEditorEnabled and c.title != ATOM_HOME_TITLE" class="homeHelpBar"> 
    4242                        <tr><td align="left"> 
    43                             <a href="${h.url_for('home')}">Home</a> 
     43                            <a href="${h.url_for('atomHome')}">Home</a> 
    4444                            </td><td align="right"><a py:if="c.title != HELP_PAGE_TITLE" href="${h.url_for('help')}">Help</a> 
    4545                            </td></tr> 
Note: See TracChangeset for help on using the changeset viewer.