Changeset 377 for trunk

Show
Ignore:
Timestamp:
05/23/08 22:17:42 (6 months ago)
Author:
johnbywater
Message:

Added another empty template block (extn point for adding sidebar boxes). Refined previous/next aspect.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/dm/django/templates/registry/read.html

    r355 r377  
    7373  Next: <a href="../{{nextObject.getRegisterKeyValue}}/">{{nextObject.getLabelValue}}</a> 
    7474  <br /> 
    75   {% endif %} 
    76   {% if previousObject %} 
     75  {% else %} 
     76    {% if previousObject %} 
    7777  Previous: <a href="../{{previousObject.getRegisterKeyValue}}/">{{previousObject.getLabelValue}}</a> 
    7878  <br /> 
     79    {% else %} 
     80  This is the only record in the register. 
     81    {% endif %} 
    7982  {% endif %} 
    8083  </p> 
    8184</div> 
     85 
     86{% block primarysidebarextn %}{% endblock %} 
     87 
    8288{% endblock %} 
    8389